dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Aaro Koskinen 2011-04-26 02:25:10 -07:00 committed by Tony Lindgren
parent e15d13f45e
commit 0bf6e2eca2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}