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

watchdog: cadence_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 e907972b
...@@ -329,10 +329,8 @@ static int cdns_wdt_probe(struct platform_device *pdev) ...@@ -329,10 +329,8 @@ static int cdns_wdt_probe(struct platform_device *pdev)
cdns_wdt_device->parent = dev; cdns_wdt_device->parent = dev;
ret = watchdog_init_timeout(cdns_wdt_device, wdt_timeout, dev); ret = watchdog_init_timeout(cdns_wdt_device, wdt_timeout, dev);
if (ret) { if (ret)
dev_err(dev, "unable to set timeout value\n");
return ret; return ret;
}
watchdog_set_nowayout(cdns_wdt_device, nowayout); watchdog_set_nowayout(cdns_wdt_device, nowayout);
watchdog_stop_on_reboot(cdns_wdt_device); watchdog_stop_on_reboot(cdns_wdt_device);
......
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