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>
This commit is contained in:
Jean Pihet 2012-09-24 16:16:40 +02:00 • committed by Kevin Hilman
commit ce3810cdb4