aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/w83977af_ir.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-03-11 11:49:02 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-11 15:41:18 -0700
commita997cbb330689f476646330a9708725dd1523aba (patch)
tree18ba4b684444cb891f06eda210c32ba4e58008ab /drivers/net/irda/w83977af_ir.c
parentdrivers/atm/eni.c: ensure arguments to request_irq and free_irq are compatible (diff)
downloadlinux-dev-a997cbb330689f476646330a9708725dd1523aba.tar.xz
linux-dev-a997cbb330689f476646330a9708725dd1523aba.zip
drivers/net/irda/{ali-ircc, via-ircc, w83977af-ir}.c: ensure arguments to request_irq and free_irq are compatible
Convert calls to free_irq so that the second argument is the same as the last argument of the corresponding call to request_irq. Without this property, free_irq does nothing. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/irda/w83977af_ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c
index 7d43506c7032..f5bb92f15880 100644
--- a/drivers/net/irda/w83977af_ir.c
+++ b/drivers/net/irda/w83977af_ir.c
@@ -1172,7 +1172,7 @@ static int w83977af_net_open(struct net_device *dev)
* and clean up on failure.
*/
if (request_dma(self->io.dma, dev->name)) {
- free_irq(self->io.irq, self);
+ free_irq(self->io.irq, dev);
return -EAGAIN;
}