mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
watchdog: marvell_gti: 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-6-panchuang@vivo.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
9e34598b92
commit
c19929a8d8
|
|
@ -321,7 +321,7 @@ static int gti_wdt_probe(struct platform_device *pdev)
|
|||
err = devm_request_irq(dev, irq, gti_wdt_interrupt, 0,
|
||||
pdev->name, &priv->wdev);
|
||||
if (err)
|
||||
return dev_err_probe(dev, err, "Failed to register interrupt handler\n");
|
||||
return err;
|
||||
|
||||
dev_info(dev, "Watchdog enabled (timeout=%d sec)\n", wdog_dev->timeout);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user