]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: zx: Fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 30 Oct 2016 08:10:10 +0000 (09:10 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 8 Nov 2016 03:19:35 +0000 (19:19 -0800)
commit9cfc93b2f881e37729172938459e8b96b53ee25c
tree1173eb2c88b29e8200075b17181e8396469d2eba
parentce3409615244e15c677daeb77f3516224cfc613e
ARM: zx: Fix error handling

'devm_ioremap_resource()' returns an error pointer in case of error, not
NULL. So test it with IS_ERR.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-zx/zx296702-pm-domain.c