power: supply: sbs-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-37-panchuang@vivo.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Pan Chuang
2026-07-09 11:34:15 +08:00
committed by Sebastian Reichel
parent 94f491a228
commit bfae8c8ad5

View File

@@ -217,7 +217,7 @@ static int sbs_probe(struct i2c_client *client)
IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
dev_name(&client->dev), chip);
if (ret)
return dev_err_probe(&client->dev, ret, "Failed to request irq\n");
return ret;
} else {
ret = devm_delayed_work_autocancel(&client->dev, &chip->work,
sbs_delayed_work);