arch/sh/drivers/dma/{dma-g2,dmabrg}.c: ensure arguments to request_irq and free_irq...
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 15 Mar 2012 06:14:43 +0000 (15:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 15 Mar 2012 06:14:43 +0000 (15:14 +0900)
commit691c01c3f0b3252308162de90edcd02f7ca1733c
tree4e38b3410d5d966a87787a96344b629d0065133a
parentf1cbd03f5eabb75ea8ace23b47d2209f10871c16
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>
arch/sh/drivers/dma/dma-g2.c
arch/sh/drivers/dma/dmabrg.c