dma: mv_xor: fix error checking of irq_of_parse_and_map()
commitf8eb9e7d2a198fe3a0f76d9e5b374160c26e4621
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Nov 2012 17:22:12 +0000 (22 18:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Nov 2012 17:22:12 +0000 (22 18:22 +0100)
treee5b381ca2738feb9a67a76e50eb26eb765c5086d
parent2d0a074517da34a6386bdd9a22bc006c8fa21044
dma: mv_xor: fix error checking of irq_of_parse_and_map()

The irq_of_parse_and_map() function returns 0 on failure, and does not
return an error code, so we fix the calling site of
irq_of_parse_and_map() in the mv_xor driver.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/dma/mv_xor.c