net: wireless: wl1251: Remove unnecessary free_irq
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 2 Aug 2014 11:21:30 +0000 (16:51 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Aug 2014 20:00:43 +0000 (16:00 -0400)
This patch does away with free_irq in the remove function as the irq is
allocated with a devm_request_irq.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl1251/spi.c

index a0aa8fa72392830f65f8c8b52303be5ad44019b9..735be5352143e9a1e757d6953f708a3ce5fd9e54 100644 (file)
@@ -345,7 +345,6 @@ static int wl1251_spi_remove(struct spi_device *spi)
 {
        struct wl1251 *wl = spi_get_drvdata(spi);
 
-       free_irq(wl->irq, wl);
        wl1251_free_hw(wl);
        regulator_disable(wl->vio);