]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/rockchip: Don't feed NULL res pointers to devres
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 21 Mar 2016 11:00:23 +0000 (12:00 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 Apr 2016 14:27:07 +0000 (16:27 +0200)
commit8d7f2d84ed2d44b05e1ce88fa4b74886af46a139
treef7a3e0cae2668900e89c53e341fff0e83bb98146
parent9735a22799b9214d17d3c231fe377fc852f042e9
iommu/rockchip: Don't feed NULL res pointers to devres

If we do, devres prints a "invalid resource" string in the error
loglevel.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/rockchip-iommu.c