power: supply: bq257xx_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-17-panchuang@vivo.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Pan Chuang
2026-07-09 11:33:55 +08:00
committed by Sebastian Reichel
parent 4f22a6bd51
commit c1de2a3f1f

View File

@@ -753,8 +753,6 @@ static int bq257xx_charger_probe(struct platform_device *pdev)
IRQF_TRIGGER_FALLING |
IRQF_ONESHOT,
dev_name(&bq->client->dev), pdata);
if (ret < 0)
dev_err_probe(dev, ret, "Charger get irq failed\n");
}
return ret;