Skip to content

Commit

Permalink
net: wireless: wl1251: Remove unnecessary free_irq
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
himangi774 authored and linvjw committed Aug 25, 2014
1 parent 8615eb2 commit 6040aa7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/wireless/ti/wl1251/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6040aa7

Please sign in to comment.