mirror of
https://github.com/torvalds/linux.git
synced 2026-09-27 11:02:03 +02:00
power: supply: bq256xx_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-16-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
d77b6dd690
commit
4f22a6bd51
|
|
@ -1752,10 +1752,8 @@ static int bq256xx_probe(struct i2c_client *client)
|
|||
IRQF_TRIGGER_FALLING |
|
||||
IRQF_ONESHOT,
|
||||
dev_name(&client->dev), bq);
|
||||
if (ret < 0) {
|
||||
dev_err(dev, "get irq fail: %d\n", ret);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
ret = bq256xx_hw_init(bq);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user