mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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: Matt Renzelmann <[email protected]> Acked-by: Stephen Boyd <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
792df87228
commit
e8195b24fe
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue