diff mbox

[4/4,ARM] mxcmmc: remove a unnecessary release_resource() call

Message ID 1290415671.5471.13.camel@mola (mailing list archive)
State New, archived
Headers show

Commit Message

axel lin Nov. 22, 2010, 8:47 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 2b9f7c8..4428594 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);