From: Wolfram Sang Date: Fri, 19 Apr 2019 18:15:57 +0000 (+0200) Subject: watchdog: sp5100_tco: drop warning after calling watchdog_init_timeout X-Git-Tag: v5.15~6382^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d505e3e40cbb6293d4ca03288ee90c1805a52a6;p=platform%2Fkernel%2Flinux-starfive.git watchdog: sp5100_tco: drop warning after calling watchdog_init_timeout The core will print out details now. Reviewed-by: Guenter Roeck Signed-off-by: Wolfram Sang Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c index 41aaae2..553735b 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);