mmc: mxcmmc: remove a unnecessary release_resource() call
authorAxel Lin <axel.lin@gmail.com>
Mon, 22 Nov 2010 08:47:51 +0000 (16:47 +0800)
committerChris Ball <cjb@laptop.org>
Sun, 9 Jan 2011 03:45:36 +0000 (22:45 -0500)
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>
drivers/mmc/host/mxcmmc.c

index 2b9f7c8567003f0a9a2279798b82286e548c875d..4428594261c52cbc42b5e265e1e26ab52c947820 100644 (file)
@@ -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);