summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-04-19 20:15:50 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:05:00 +0200
commitcccbf8baa1097b3ff9c1cecfcd5060739c8880e1 (patch)
treeb592cd2aa2b260a47f05b4033d53d58210219232 /drivers/watchdog
parentc7d30d42ff064f942fc3ad897543c4f69474f6d3 (diff)
downloadtalos-op-linux-cccbf8baa1097b3ff9c1cecfcd5060739c8880e1.tar.gz
talos-op-linux-cccbf8baa1097b3ff9c1cecfcd5060739c8880e1.zip
watchdog: ebc-c384_wdt: drop warning after calling watchdog_init_timeout
The core will print out details now. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> 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')
-rw-r--r--drivers/watchdog/ebc-c384_wdt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/watchdog/ebc-c384_wdt.c b/drivers/watchdog/ebc-c384_wdt.c
index 4c4c8ce78021..c176f59fea28 100644
--- a/drivers/watchdog/ebc-c384_wdt.c
+++ b/drivers/watchdog/ebc-c384_wdt.c
@@ -117,10 +117,7 @@ static int ebc_c384_wdt_probe(struct device *dev, unsigned int id)
wdd->max_timeout = WATCHDOG_MAX_TIMEOUT;
watchdog_set_nowayout(wdd, nowayout);
-
- if (watchdog_init_timeout(wdd, timeout, dev))
- dev_warn(dev, "Invalid timeout (%u seconds), using default (%u seconds)\n",
- timeout, WATCHDOG_TIMEOUT);
+ watchdog_init_timeout(wdd, timeout, dev);
return devm_watchdog_register_device(dev, wdd);
}
OpenPOWER on IntegriCloud