[PATCH] cache: sifive_ccache: Remove redundant dev_err_probe()
Pan Chuang
panchuang at vivo.com
Mon Jul 13 04:29:46 PDT 2026
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err_probe() calls.
Signed-off-by: Pan Chuang <panchuang at vivo.com>
---
drivers/cache/sifive_ccache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cache/sifive_ccache.c b/drivers/cache/sifive_ccache.c
index 2acb8bdf06d5..71d3f94987fa 100644
--- a/drivers/cache/sifive_ccache.c
+++ b/drivers/cache/sifive_ccache.c
@@ -275,7 +275,7 @@ static int sifive_ccache_probe(struct platform_device *pdev)
rc = devm_request_irq(dev, g_irq[i], ccache_int_handler, 0, "ccache_ecc", NULL);
if (rc)
- return dev_err_probe(dev, rc, "Could not request IRQ %d\n", g_irq[i]);
+ return rc;
}
return 0;
--
2.34.1
More information about the linux-riscv
mailing list