mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
watchdog: rzv2h_wdt: don't print superfluous errors
The watchdog core will handle error messages already. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
committed by
Wim Van Sebroeck
parent
66036fa63a
commit
28cee77baf
@@ -341,9 +341,7 @@ static int rzv2h_wdt_probe(struct platform_device *pdev)
|
||||
watchdog_set_nowayout(&priv->wdev, nowayout);
|
||||
watchdog_stop_on_unregister(&priv->wdev);
|
||||
|
||||
ret = watchdog_init_timeout(&priv->wdev, 0, dev);
|
||||
if (ret)
|
||||
dev_warn(dev, "Specified timeout invalid, using default\n");
|
||||
watchdog_init_timeout(&priv->wdev, 0, dev);
|
||||
|
||||
return devm_watchdog_register_device(dev, &priv->wdev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user