summaryrefslogtreecommitdiff
path: root/drivers/dma/fsl_raid.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-09-10 12:56:04 +0300
committerVinod Koul <vinod.koul@intel.com>2016-09-14 16:27:38 +0300
commitaa570be6de67f3772cc850a7bfbe659214aa9ee4 (patch)
tree4e718f1b9d20a43cf0d1b8a413508d031bcbd06c /drivers/dma/fsl_raid.c
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
downloadlinux-aa570be6de67f3772cc850a7bfbe659214aa9ee4.tar.xz
dmaengine: NO_IRQ removal from powerpc-only drivers
We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it from powerpc-only drivers. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/fsl_raid.c')
-rw-r--r--drivers/dma/fsl_raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c
index aad167eaaee8..496ff8e7d7f9 100644
--- a/drivers/dma/fsl_raid.c
+++ b/drivers/dma/fsl_raid.c
@@ -670,7 +670,7 @@ static int fsl_re_chan_probe(struct platform_device *ofdev,
/* read irq property from dts */
chan->irq = irq_of_parse_and_map(np, 0);
- if (chan->irq == NO_IRQ) {
+ if (!chan->irq) {
dev_err(dev, "No IRQ defined for JR %d\n", q);
ret = -ENODEV;
goto err_free;