From: Ladislav Michl Date: Wed, 11 Nov 2009 22:26:43 +0000 (-0800) Subject: mmci-omap: free irq resource X-Git-Tag: MMI-PSA29.97-13-9~25904 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49c1d9da1c83b83e4ed65bb84326835cdb3e7327;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git mmci-omap: free irq resource Free IRQ on remove. Signed-off-by: Ladislav Michl Acked-by: Tony Lindgren Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index e7a331de5733..b8fd7af1ceeb 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@ -1529,6 +1529,7 @@ static int mmc_omap_remove(struct platform_device *pdev) host->pdata->cleanup(&pdev->dev); mmc_omap_fclk_enable(host, 0); + free_irq(host->irq, host); clk_put(host->fclk); clk_disable(host->iclk); clk_put(host->iclk);