]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP3+: SmartReflex: fix error handling
authorJean Pihet <jean.pihet@newoldbits.com>
Wed, 29 Feb 2012 22:33:49 +0000 (23:33 +0100)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Mar 2012 19:29:27 +0000 (11:29 -0800)
commit98a25501b1b84b4d99dd9046f0f530be104353a8
tree2c848a1cbb0215cbe07552f78d5c78b970a91d4d
parent3c908df0a3e3149b3d25e56efc72e5b8fbbbfb26
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