提交 17d8020d 编写于 作者: A Axel Lin 提交者: Chris Ball

mmc: mxcmmc: remove a unnecessary release_resource() call

Remove release_resource() after release_mem_region().
Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 d078d242
...@@ -967,7 +967,6 @@ static int mxcmci_remove(struct platform_device *pdev) ...@@ -967,7 +967,6 @@ static int mxcmci_remove(struct platform_device *pdev)
clk_put(host->clk); clk_put(host->clk);
release_mem_region(host->res->start, resource_size(host->res)); release_mem_region(host->res->start, resource_size(host->res));
release_resource(host->res);
mmc_free_host(mmc); mmc_free_host(mmc);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册