diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-04-19 21:15:54 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 22:06:39 +0300 |
commit | ff00800b6469a3495306ae1d922d70646f5cf86f (patch) | |
tree | b6fa93b881c8980489d4c5914b21f38380f53d51 /drivers/watchdog/ni903x_wdt.c | |
parent | 5c09980d9f9de2dc6b255f4f0229aeff0eb2c723 (diff) | |
download | linux-ff00800b6469a3495306ae1d922d70646f5cf86f.tar.xz |
watchdog: ni903x_wdt: 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/ni903x_wdt.c')
-rw-r--r-- | drivers/watchdog/ni903x_wdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/ni903x_wdt.c b/drivers/watchdog/ni903x_wdt.c index dc67742e9018..fbc1df86c6cc 100644 --- a/drivers/watchdog/ni903x_wdt.c +++ b/drivers/watchdog/ni903x_wdt.c @@ -217,9 +217,7 @@ static int ni903x_acpi_add(struct acpi_device *device) wdd->parent = dev; watchdog_set_drvdata(wdd, wdt); watchdog_set_nowayout(wdd, nowayout); - ret = watchdog_init_timeout(wdd, timeout, dev); - if (ret) - dev_err(dev, "unable to set timeout value, using default\n"); + watchdog_init_timeout(wdd, timeout, dev); ret = watchdog_register_device(wdd); if (ret) { |