提交 6040aa70 编写于 作者: H Himangi Saraogi 提交者: John W. Linville

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: NHimangi Saraogi <himangi774@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 8615eb28
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册