diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2011-04-26 05:25:10 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-05-03 05:38:02 -0400 |
commit | 0bf6e2eca2a32fc6ea69eb499313234476a526d7 (patch) | |
tree | 9db3f3faf7c6f2e39040f5cf10948b28a720bb3e /arch/arm/mach-omap2/smartreflex.c | |
parent | e15d13f45ec5dd0217317eddacd4e92565b300a1 (diff) |
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 13e24f913dd4..dbc4b6f12294 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) | |||
883 | ret = sr_late_init(sr_info); | 883 | ret = sr_late_init(sr_info); |
884 | if (ret) { | 884 | if (ret) { |
885 | pr_warning("%s: Error in SR late init\n", __func__); | 885 | pr_warning("%s: Error in SR late init\n", __func__); |
886 | goto err_release_region; | 886 | return ret; |
887 | } | 887 | } |
888 | } | 888 | } |
889 | 889 | ||