summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-22 16:47:51 +0800
committerChris Ball <cjb@laptop.org>2011-01-08 22:45:36 -0500
commit17d8020d9a4ee7d5965996ea75636dc3d058963f (patch)
treed5e811a5f2628c72b3fdef4cd9fd87fd5d409d44 /drivers/mmc/host
parentd078d24242ff6c36338991627f9c63b2d48a6eee (diff)
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>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/mxcmmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 2b9f7c85670..4428594261c 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -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);