aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-04-19 20:16:00 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:10:32 +0200
commitb74d646134e0404a375d5c7984897b1272d3f24d (patch)
tree0560e6f19ad705fe3e072f99020b8f2bcb44fdaf /drivers/watchdog
parentwatchdog: stm32_iwdg: drop warning after calling watchdog_init_timeout (diff)
downloadwireguard-linux-b74d646134e0404a375d5c7984897b1272d3f24d.tar.xz
wireguard-linux-b74d646134e0404a375d5c7984897b1272d3f24d.zip
watchdog: xen_wdt: drop warning after calling watchdog_init_timeout
The core will print out details now. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/xen_wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/xen_wdt.c b/drivers/watchdog/xen_wdt.c
index 6c1ca1f31cbc..25a1af5e1787 100644
--- a/drivers/watchdog/xen_wdt.c
+++ b/drivers/watchdog/xen_wdt.c
@@ -136,9 +136,7 @@ static int xen_wdt_probe(struct platform_device *pdev)
return -ENODEV;
}
- if (watchdog_init_timeout(&xen_wdt_dev, timeout, NULL))
- dev_info(dev, "timeout value invalid, using %d\n",
- xen_wdt_dev.timeout);
+ watchdog_init_timeout(&xen_wdt_dev, timeout, NULL);
watchdog_set_nowayout(&xen_wdt_dev, nowayout);
watchdog_stop_on_reboot(&xen_wdt_dev);
watchdog_stop_on_unregister(&xen_wdt_dev);