diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2011-04-26 02:25:10 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-05-03 02:38:02 -0700 |
commit | 0bf6e2eca2a32fc6ea69eb499313234476a526d7 (patch) | |
tree | 9db3f3faf7c6f2e39040f5cf10948b28a720bb3e /arch/arm/mach-omap2/smartreflex.c | |
parent | e15d13f45ec5dd0217317eddacd4e92565b300a1 (diff) | |
download | op-kernel-dev-0bf6e2eca2a32fc6ea69eb499313234476a526d7.zip op-kernel-dev-0bf6e2eca2a32fc6ea69eb499313234476a526d7.tar.gz |
OMAP3+: smartreflex: fix sr_late_init() error path in probe
sr_late_init() will take care of freeing the resources.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex.c')
-rw-r--r-- | arch/arm/mach-omap2/smartreflex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 13e24f9..dbc4b6f1 100644 --- a/arch/arm/mach-omap2/smartreflex.c +++ b/arch/arm/mach-omap2/smartreflex.c @@ -883,7 +883,7 @@ static int __init omap_sr_probe(struct platform_device *pdev) ret = sr_late_init(sr_info); if (ret) { pr_warning("%s: Error in SR late init\n", __func__); - goto err_release_region; + return ret; } } |