diff options
Diffstat (limited to 'drivers/dma/uniphier-xdmac.c')
-rw-r--r-- | drivers/dma/uniphier-xdmac.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/uniphier-xdmac.c b/drivers/dma/uniphier-xdmac.c index 2f6fd518d180..7b2f8a8c2d31 100644 --- a/drivers/dma/uniphier-xdmac.c +++ b/drivers/dma/uniphier-xdmac.c @@ -525,10 +525,8 @@ static int uniphier_xdmac_probe(struct platform_device *pdev) uniphier_xdmac_chan_init(xdev, i); irq = platform_get_irq(pdev, 0); - if (irq < 0) { - dev_err(dev, "Failed to get IRQ\n"); + if (irq < 0) return irq; - } ret = devm_request_irq(dev, irq, uniphier_xdmac_irq_handler, IRQF_SHARED, "xdmac", xdev); |