watchdog: st_lpc_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>
This commit is contained in:
parent
2d505e3e40
commit
b4214185b9
|
@ -224,10 +224,8 @@ static int st_wdog_probe(struct platform_device *pdev)
|
|||
|
||||
/* Init Watchdog timeout with value in DT */
|
||||
ret = watchdog_init_timeout(&st_wdog_dev, 0, dev);
|
||||
if (ret) {
|
||||
dev_err(dev, "Unable to initialise watchdog timeout\n");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = devm_watchdog_register_device(dev, &st_wdog_dev);
|
||||
if (ret) {
|
||||
|
|
Loading…
Reference in New Issue