mirror of
https://github.com/torvalds/linux.git
synced 2026-09-27 02:22:02 +02:00
power: supply: ab8500_btemp: 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: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260709033428.362970-5-panchuang@vivo.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
a446886a5c
commit
2865c7e80a
|
|
@ -787,11 +787,8 @@ static int ab8500_btemp_probe(struct platform_device *pdev)
|
|||
IRQF_SHARED | IRQF_NO_SUSPEND | IRQF_ONESHOT,
|
||||
ab8500_btemp_irq[i].name, di);
|
||||
|
||||
if (ret) {
|
||||
dev_err(dev, "failed to request %s IRQ %d: %d\n"
|
||||
, ab8500_btemp_irq[i].name, irq, ret);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
dev_dbg(dev, "Requested %s IRQ %d: %d\n",
|
||||
ab8500_btemp_irq[i].name, irq, ret);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user