diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-03-15 10:14:43 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-03-15 10:14:43 +0400 |
commit | 691c01c3f0b3252308162de90edcd02f7ca1733c (patch) | |
tree | 4e38b3410d5d966a87787a96344b629d0065133a /arch/sh/drivers/dma/dmabrg.c | |
parent | f1cbd03f5eabb75ea8ace23b47d2209f10871c16 (diff) | |
download | linux-691c01c3f0b3252308162de90edcd02f7ca1733c.tar.xz |
arch/sh/drivers/dma/{dma-g2,dmabrg}.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.
In the case of dmabrg.c the change is merely cosmetic - changing 0 to NULL.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/dma/dmabrg.c')
-rw-r--r-- | arch/sh/drivers/dma/dmabrg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/dma/dmabrg.c b/arch/sh/drivers/dma/dmabrg.c index 3d66a32ce610..c0dd904483c7 100644 --- a/arch/sh/drivers/dma/dmabrg.c +++ b/arch/sh/drivers/dma/dmabrg.c @@ -189,8 +189,8 @@ static int __init dmabrg_init(void) if (ret == 0) return ret; - free_irq(DMABRGI1, 0); -out1: free_irq(DMABRGI0, 0); + free_irq(DMABRGI1, NULL); +out1: free_irq(DMABRGI0, NULL); out0: kfree(dmabrg_handlers); return ret; } |