Commit e8195b24 authored by Matt Renzelmann's avatar Matt Renzelmann Committed by 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: default avatarMatt Renzelmann <mjr@cs.wisc.edu>
Acked-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment