mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 01:52:03 +02:00
power: supply: rn5t618_power: 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-33-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
6d5c18483f
commit
a69f6b1e30
|
|
@ -800,11 +800,8 @@ static int rn5t618_power_probe(struct platform_device *pdev)
|
|||
"rn5t618_power",
|
||||
&pdev->dev);
|
||||
|
||||
if (ret < 0) {
|
||||
dev_err(&pdev->dev, "request IRQ:%d fail\n",
|
||||
info->irq);
|
||||
if (ret < 0)
|
||||
info->irq = -1;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user