ARM: OMAP3+: SmartReflex: fix error handling
authorJean Pihet <jean.pihet@newoldbits.com>
Wed, 29 Feb 2012 22:33:49 +0000 (23:33 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 15 May 2016 12:43:21 +0000 (15:43 +0300)
commit1beff95eeaf1617284f597ebbfea2d3a08b9c67f
tree0b298b3025da65e2b8d6ac6cddd39da40bb5aeac
parent5c32a1aedd3c595911c3dc1511b3205c701aa814
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