Skip to content

Commit

Permalink
OMAP3+: smartreflex: fix sr_late_init() error path in probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed May 3, 2011
1 parent e15d13f commit 0bf6e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/smartreflex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 0bf6e2e

Please sign in to comment.