提交 0bf6e2ec 编写于 作者: A Aaro Koskinen 提交者: Tony Lindgren

OMAP3+: smartreflex: fix sr_late_init() error path in probe

sr_late_init() will take care of freeing the resources.
Signed-off-by: NAaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: NKevin Hilman <khilman@ti.com>
上级 e15d13f4
......@@ -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;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册