Commit 17d8020d authored by Axel Lin's avatar Axel Lin Committed by Chris Ball

mmc: mxcmmc: remove a unnecessary release_resource() call

Remove release_resource() after release_mem_region().
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent d078d242
......@@ -967,7 +967,6 @@ static int mxcmci_remove(struct platform_device *pdev)
clk_put(host->clk);
release_mem_region(host->res->start, resource_size(host->res));
release_resource(host->res);
mmc_free_host(mmc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment