summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPan Chuang <panchuang@vivo.com>2026-07-13 21:27:38 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-07-26 02:19:29 +0200
commit7c5c46b52f05e87ef2e0984bcb377c20b2ab4e4b (patch)
treee5e2745f69de6454e21227207f3bebb279f6ae4d
parent760318e2e69857214314e94ac477219f0c89106b (diff)
downloadlinux-next-7c5c46b52f05e87ef2e0984bcb377c20b2ab4e4b.tar.gz
linux-next-7c5c46b52f05e87ef2e0984bcb377c20b2ab4e4b.zip
HSI: nokia-modem: Remove redundant dev_err()
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() calls. Signed-off-by: Pan Chuang <panchuang@vivo.com> Link: https://patch.msgid.link/20260713132747.394970-2-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r--drivers/hsi/clients/nokia-modem.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hsi/clients/nokia-modem.c b/drivers/hsi/clients/nokia-modem.c
index 97ba59e60663..88924d757616 100644
--- a/drivers/hsi/clients/nokia-modem.c
+++ b/drivers/hsi/clients/nokia-modem.c
@@ -157,11 +157,8 @@ static int nokia_modem_probe(struct device *dev)
do_nokia_modem_rst_ind_tasklet, (unsigned long)modem);
err = devm_request_irq(dev, irq, nokia_modem_rst_ind_isr,
pflags, "modem_rst_ind", modem);
- if (err < 0) {
- dev_err(dev, "Request rst_ind irq(%d) failed (flags %d)\n",
- irq, pflags);
+ if (err < 0)
return err;
- }
enable_irq_wake(irq);
if (pm) {