power: supply: axp288_fuel_gauge: 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-12-panchuang@vivo.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Pan Chuang 2026-07-09 11:33:50 +08:00 committed by Sebastian Reichel
parent 5ec359933b
commit dfb7997da1

View File

@ -791,7 +791,7 @@ static int axp288_fuel_gauge_probe(struct platform_device *pdev)
fuel_gauge_thread_handler,
IRQF_ONESHOT, DEV_NAME, info);
if (ret)
return dev_err_probe(dev, ret, "requesting IRQ %d\n", info->irq[i]);
return ret;
}
return 0;