diff options
| author | Pan Chuang <panchuang@vivo.com> | 2026-07-09 11:33:45 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-18 02:59:09 +0200 |
| commit | aa5f4decedfb4fc5cd0fe49ab256ad4304d192e4 (patch) | |
| tree | 5ba9ddbda0826a8cef7b90c2c74cd550da30d58d | |
| parent | defdb28de9b3afb4811423a302ff11526595d098 (diff) | |
| download | linux-stable-aa5f4decedfb4fc5cd0fe49ab256ad4304d192e4.tar.gz linux-stable-aa5f4decedfb4fc5cd0fe49ab256ad4304d192e4.zip | |
power: supply: ab8500_fg: 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>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260709033428.362970-7-panchuang@vivo.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
| -rw-r--r-- | drivers/power/supply/ab8500_fg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c index eb5c1ae68e44..f8f392592193 100644 --- a/drivers/power/supply/ab8500_fg.c +++ b/drivers/power/supply/ab8500_fg.c @@ -3178,8 +3178,6 @@ static int ab8500_fg_probe(struct platform_device *pdev) ab8500_fg_irq[i].name, di); if (ret != 0) { - dev_err(dev, "failed to request %s IRQ %d: %d\n", - ab8500_fg_irq[i].name, irq, ret); destroy_workqueue(di->fg_wq); return ret; } |
