Browse Source

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>
Axel Lin 14 years ago
parent
commit
17d8020d9a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/mmc/host/mxcmmc.c

+ 0 - 1
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);