mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
power: supply: pf1550-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> Reviewed-by: Samuel Kayode <samkay014@gmail.com> Link: https://patch.msgid.link/20260709033428.362970-29-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
1a3d312038
commit
4fed9665ab
|
|
@ -612,8 +612,7 @@ static int pf1550_charger_probe(struct platform_device *pdev)
|
|||
IRQF_NO_SUSPEND,
|
||||
"pf1550-charger", chg);
|
||||
if (ret)
|
||||
return dev_err_probe(&pdev->dev, ret,
|
||||
"failed irq request\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
pf1550_dt_parse_dev_info(chg);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user