[PATCH 09/26] dmaengine: pxa_dma: Remove redundant dev_err()/dev_err_probe()

From: Pan Chuang

Date: Thu Jul 09 2026 - 10:24:05 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/pxa_dma.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c
index fa2ee0b3e09f..7bdcc5e6a3d8 100644
--- a/drivers/dma/pxa_dma.c
+++ b/drivers/dma/pxa_dma.c
@@ -1260,12 +1260,8 @@ static int pxad_init_phys(struct platform_device *op,
ret = devm_request_irq(&op->dev, irq0,
pxad_int_handler,
IRQF_SHARED, "pxa-dma", pdev);
- if (ret) {
- dev_err(pdev->slave.dev,
- "%s(): can't request irq %d:%d\n", __func__,
- irq, ret);
+ if (ret)
return ret;
- }
}

return 0;
--
2.34.1