[PATCH 06/26] dmaengine: mmp_pdma: Remove redundant dev_err()/dev_err_probe()

From: Pan Chuang

Date: Thu Jul 09 2026 - 10:10:06 EST


The devm_request_irq() now automatically logs detailed error messages on
failure. This eliminates the need for driver-specific dev_err() and
dev_err_probe() calls that previously printed generic messages.

Signed-off-by: Pan Chuang <panchuang@xxxxxxxx>
---
drivers/dma/mmp_pdma.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index 386e85cd4882..c2a638d55488 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -1161,10 +1161,8 @@ static int mmp_pdma_chan_init(struct mmp_pdma_device *pdev, int idx, int irq)
if (irq) {
ret = devm_request_irq(pdev->dev, irq, mmp_pdma_chan_handler,
IRQF_SHARED, "pdma", phy);
- if (ret) {
- dev_err(pdev->dev, "channel request irq fail!\n");
+ if (ret)
return ret;
- }
}

spin_lock_init(&chan->desc_lock);
--
2.34.1