summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPan Chuang <panchuang@vivo.com>2026-07-09 11:33:49 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-07-18 02:59:10 +0200
commit5ec359933b7cd110e35aa298438cc4beeff5cc4b (patch)
tree224027e50b0fa4b6ecbda9d4272b4409c148aaa8
parentd8b7f5b39c3487349f77676a78e44093ec42b7c4 (diff)
power: supply: axp288_charger: Remove redundant dev_err()/dev_err_probe()
The devm_request_threaded_irq() and devm_request_irq() now automatically log 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@vivo.com> Link: https://patch.msgid.link/20260709033428.362970-11-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r--drivers/power/supply/axp288_charger.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/power/supply/axp288_charger.c b/drivers/power/supply/axp288_charger.c
index 24a8b1ee2fec..8f2090356017 100644
--- a/drivers/power/supply/axp288_charger.c
+++ b/drivers/power/supply/axp288_charger.c
@@ -946,8 +946,7 @@ static int axp288_charger_probe(struct platform_device *pdev)
NULL, axp288_charger_irq_thread_handler,
IRQF_ONESHOT, info->pdev->name, info);
if (ret)
- return dev_err_probe(dev, ret, "failed to request interrupt=%d\n",
- info->irq[i]);
+ return ret;
}
return 0;