diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-11-22 16:47:51 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-08 22:45:36 -0500 |
commit | 17d8020d9a4ee7d5965996ea75636dc3d058963f (patch) | |
tree | d5e811a5f2628c72b3fdef4cd9fd87fd5d409d44 /drivers/mmc | |
parent | d078d24242ff6c36338991627f9c63b2d48a6eee (diff) | |
download | op-kernel-dev-17d8020d9a4ee7d5965996ea75636dc3d058963f.zip op-kernel-dev-17d8020d9a4ee7d5965996ea75636dc3d058963f.tar.gz |
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')
-rw-r--r-- | drivers/mmc/host/mxcmmc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |