ARM: OMAP: SmartReflex: fix error path in init function
authorJean Pihet <jean.pihet@newoldbits.com>
Mon, 24 Sep 2012 14:16:40 +0000 (16:16 +0200)
committerKevin Hilman <khilman@ti.com>
Tue, 2 Oct 2012 21:55:31 +0000 (14:55 -0700)
commitce3810cdb4ca31238c87e095d2c494a5eaa4f65d
tree06e6c3e474456473c50d469cddd05e600de9a795
parent70071ff989bae3edfc14847aaa8e1c3baa2aacff
ARM: OMAP: SmartReflex: fix error path in init function

Fix the error handling path in omap_sr_probe to correctly
de-allocate resources in case of problems.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/power/avs/smartreflex.c