mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
watchdog: realtek_otto: Remove redundant dev_err_probe()
Since commit
55b48e23f5 ("genirq/devres: Add error handling in devm_request_*_irq()"),
devm_request_irq() automatically logs detailed error messages on
failure. Remove the now-redundant driver-specific dev_err_probe() call.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Link: https://lore.kernel.org/r/20260722084218.79073-8-panchuang@vivo.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
329b7e841f
commit
d7c4cef982
|
|
@ -313,7 +313,7 @@ static int otto_wdt_probe(struct platform_device *pdev)
|
|||
ret = devm_request_irq(dev, ctrl->irq_phase1, otto_wdt_phase1_isr, 0,
|
||||
"realtek-otto-wdt", ctrl);
|
||||
if (ret)
|
||||
return dev_err_probe(dev, ret, "Failed to get IRQ for phase1\n");
|
||||
return ret;
|
||||
|
||||
ret = otto_wdt_probe_reset_mode(ctrl);
|
||||
if (ret)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user