mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
power: supply: mt6360_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-27-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
f73b8c7c3e
commit
576014dbc3
|
|
@ -721,8 +721,7 @@ static int mt6360_chg_irq_register(struct platform_device *pdev)
|
|||
irq_descs[i].name,
|
||||
platform_get_drvdata(pdev));
|
||||
if (ret < 0)
|
||||
return dev_err_probe(&pdev->dev, ret, "Failed to request %s irq\n",
|
||||
irq_descs[i].name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user