watchdog: sp5100_tco: drop warning after calling watchdog_init_timeout
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 19 Apr 2019 18:15:57 +0000 (20:15 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:08:32 +0000 (21:08 +0200)
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>
drivers/watchdog/sp5100_tco.c

index 41aaae2d5287faae869fad5591b0290cc0c7dadf..553735b256e219b5428f55d0f5179e7214bf2821 100644 (file)
@@ -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);