mmc: mxcmmc: remove a unnecessary release_resource() call
Remove release_resource() after release_mem_region(). Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
d078d24242
commit
17d8020d9a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user