mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
watchdog: xen_wdt: drop warning after calling watchdog_init_timeout
The core will print out details now. Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
6781ce2ef1
commit
b74d646134
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue