summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-08-02 16:51:30 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-08-25 16:00:43 -0400
commit6040aa70c30276e6cd2aacd1f428c3f05462a7f1 (patch)
tree59b2ca034cee4fbf01b604e811556f37ed4acd77 /drivers/net/wireless/ti
parent8615eb2870f1a89ad551d80ef821172015af7c28 (diff)
net: wireless: wl1251: Remove unnecessary free_irq
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>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r--drivers/net/wireless/ti/wl1251/spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wl1251/spi.c b/drivers/net/wireless/ti/wl1251/spi.c
index a0aa8fa72392..735be5352143 100644
--- a/drivers/net/wireless/ti/wl1251/spi.c
+++ b/drivers/net/wireless/ti/wl1251/spi.c
@@ -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);