mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
watchdog: cadence_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
e907972be3
commit
5429e3a579
1 changed files with 1 additions and 3 deletions
|
|
@ -329,10 +329,8 @@ static int cdns_wdt_probe(struct platform_device *pdev)
|
|||
cdns_wdt_device->parent = dev;
|
||||
|
||||
ret = watchdog_init_timeout(cdns_wdt_device, wdt_timeout, dev);
|
||||
if (ret) {
|
||||
dev_err(dev, "unable to set timeout value\n");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
watchdog_set_nowayout(cdns_wdt_device, nowayout);
|
||||
watchdog_stop_on_reboot(cdns_wdt_device);
|
||||
|
|
|
|||
Loading…
Reference in a new issue