projects
/
linux-edison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e15d13f
)
OMAP3+: smartreflex: fix sr_late_init() error path in probe
author
Aaro Koskinen
<aaro.koskinen@nokia.com>
Tue, 26 Apr 2011 09:25:10 +0000
(
02:25
-0700)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 3 May 2011 09:38:02 +0000
(
02:38
-0700)
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>
arch/arm/mach-omap2/smartreflex.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/smartreflex.c
b/arch/arm/mach-omap2/smartreflex.c
index
13e24f9
..
dbc4b6f
100644
(file)
--- 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
;
}
}