ARM: OMAP3+: SmartReflex: fix error handling
commit63371faf9198302c7ebd41e7fbe78eb6b57bba86
authorJean Pihet <jean.pihet@newoldbits.com>
Wed, 29 Feb 2012 22:33:49 +0000 (29 23:33 +0100)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Mar 2012 19:29:27 +0000 (5 11:29 -0800)
tree2c848a1cbb0215cbe07552f78d5c78b970a91d4d
parent54b28cdfcd8ffc491733f97378ba5816385803fc
ARM: OMAP3+: SmartReflex: fix error handling

Fix the code to correctly use IS_ERR and PTR_ERR on the return
values pointers

Reported-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c