Skip to content

Commit

Permalink
mmc: mxcmmc: remove a unnecessary release_resource() call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Chris Ball committed Jan 9, 2011
1 parent d078d24 commit 17d8020
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mmc/host/mxcmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 17d8020

Please sign in to comment.