mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
watchdog: cadence_wdt: Remove redundant dev_err()
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() call.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Link: https://lore.kernel.org/r/20260722084218.79073-3-panchuang@vivo.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
010993649a
commit
767d2416d8
|
|
@ -312,12 +312,8 @@ static int cdns_wdt_probe(struct platform_device *pdev)
|
|||
if (!wdt->rst && irq >= 0) {
|
||||
ret = devm_request_irq(dev, irq, cdns_wdt_irq_handler, 0,
|
||||
pdev->name, pdev);
|
||||
if (ret) {
|
||||
dev_err(dev,
|
||||
"cannot register interrupt handler err=%d\n",
|
||||
ret);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/* Initialize the members of cdns_wdt structure */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user