diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-04-19 20:15:57 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 21:08:32 +0200 |
commit | 2d505e3e40cbb6293d4ca03288ee90c1805a52a6 (patch) | |
tree | 132cc975546efec6672bd9b7e0781a277d967196 /drivers/watchdog/sp5100_tco.c | |
parent | cd6457a9254e2b58e451ab188c5e1cd66c6c9dca (diff) | |
download | linux-2d505e3e40cbb6293d4ca03288ee90c1805a52a6.tar.bz2 |
watchdog: sp5100_tco: 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>
Diffstat (limited to 'drivers/watchdog/sp5100_tco.c')
-rw-r--r-- | drivers/watchdog/sp5100_tco.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c index 41aaae2d5287..553735b256e2 100644 --- a/drivers/watchdog/sp5100_tco.c +++ b/drivers/watchdog/sp5100_tco.c @@ -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); |