Commit 2d505e3e authored by Wolfram Sang's avatar Wolfram Sang Committed by Wim Van Sebroeck
Browse files

watchdog: sp5100_tco: 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 cd6457a9
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -395,9 +395,7 @@ static int sp5100_tco_probe(struct platform_device *pdev)
	wdd->min_timeout = 1;
	wdd->max_timeout = 0xffff;

	if (watchdog_init_timeout(wdd, heartbeat, NULL))
		dev_info(dev, "timeout value invalid, using %d\n",
			 wdd->timeout);
	watchdog_init_timeout(wdd, heartbeat, NULL);
	watchdog_set_nowayout(wdd, nowayout);
	watchdog_stop_on_reboot(wdd);
	watchdog_stop_on_unregister(wdd);