mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 16:53:20 -04:00
power: supply: rt9467-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-35-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
committed by
Sebastian Reichel
parent
406b652bf9
commit
1683815ef8
@@ -1031,8 +1031,7 @@ static int rt9467_request_interrupt(struct rt9467_chg_data *data)
|
||||
ret = devm_request_threaded_irq(dev, virq, NULL, chg_irqs[i].handler,
|
||||
IRQF_ONESHOT, chg_irqs[i].name, data);
|
||||
if (ret)
|
||||
return dev_err_probe(dev, ret, "Failed to request (%s) irq\n",
|
||||
chg_irqs[i].name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user