提交 e8195b24 编写于 作者: M Matt Renzelmann 提交者: David S. Miller

ks8851: Fix request_irq/free_irq mismatch

The dev_id parameter passed to free_irq needs to match the one passed
to the corresponding request_irq.
Signed-off-by: NMatt Renzelmann <mjr@cs.wisc.edu>
Acked-by: NStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 792df872
......@@ -1525,7 +1525,7 @@ static int __devinit ks8851_probe(struct spi_device *spi)
err_netdev:
free_irq(ndev->irq, ndev);
free_irq(ndev->irq, ks);
err_id:
err_irq:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册