Commit b74d6461 authored by Wolfram Sang's avatar Wolfram Sang Committed by Wim Van Sebroeck

watchdog: xen_wdt: drop warning after calling watchdog_init_timeout

The core will print out details now.
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 6781ce2e
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment