ARM: edma: Clean up and simplify the code around irq request
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 13 May 2014 07:26:01 +0000 (10:26 +0300)
committerSekhar Nori <nsekhar@ti.com>
Thu, 22 May 2014 04:59:27 +0000 (10:29 +0530)
commit441617672810482b1f92878b7f82a56cd4f0fcf6
tree14796e895aa9ebda802fd64599ae2a1832f8736f
parentb0cce4ca3e740b5224d75634aa9d9abe9dfceabb
ARM: edma: Clean up and simplify the code around irq request

Get the two interrupt line number at the same time by merging the two
instance of if(node){}else{} places.
replace the &pdev->dev with the already existing dev which makes it possible
to collapse lines with devm_request_irq()

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/common/edma.c