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:
Pan Chuang 2026-07-22 16:42:09 +08:00 committed by Guenter Roeck
parent 19ff50d05f
commit 010993649a

View File

@ -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);