aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsl_raid.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2016-09-10 09:56:04 +0000
committerVinod Koul <[email protected]>2016-09-14 13:27:38 +0000
commitaa570be6de67f3772cc850a7bfbe659214aa9ee4 (patch)
tree4e718f1b9d20a43cf0d1b8a413508d031bcbd06c /drivers/dma/fsl_raid.c
parentLinux 4.8-rc1 (diff)
downloadkernel-aa570be6de67f3772cc850a7bfbe659214aa9ee4.tar.gz
kernel-aa570be6de67f3772cc850a7bfbe659214aa9ee4.zip
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 <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
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;