mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
watchdog: bd96801_wdt: Remove redundant dev_err_probe()
Since commit
55b48e23f5 ("genirq/devres: Add error handling in devm_request_*_irq()"),
devm_request_threaded_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-2-panchuang@vivo.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
19ff50d05f
commit
010993649a
|
|
@ -389,8 +389,7 @@ static int bd96801_wdt_probe(struct platform_device *pdev)
|
|||
IRQF_ONESHOT, "bd96801-wdg",
|
||||
NULL);
|
||||
if (ret)
|
||||
return dev_err_probe(&pdev->dev, ret,
|
||||
"Failed to register IRQ\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
return devm_watchdog_register_device(&pdev->dev, &w->wdt);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user