diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-04-19 21:15:59 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 22:09:43 +0300 |
commit | 6781ce2ef1b92be9f6b3528f4d81976e997a5bb6 (patch) | |
tree | ec9f5780ae069d0c7bd5c0cfd2686fcf5860d6ba /drivers/watchdog | |
parent | b4214185b91b1ce33c2670e4576600dadccd8cf8 (diff) | |
download | linux-6781ce2ef1b92be9f6b3528f4d81976e997a5bb6.tar.xz |
watchdog: stm32_iwdg: 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')
-rw-r--r-- | drivers/watchdog/stm32_iwdg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/watchdog/stm32_iwdg.c b/drivers/watchdog/stm32_iwdg.c index 68756a40eb36..6f7c2bc19c07 100644 --- a/drivers/watchdog/stm32_iwdg.c +++ b/drivers/watchdog/stm32_iwdg.c @@ -250,10 +250,7 @@ static int stm32_iwdg_probe(struct platform_device *pdev) watchdog_set_drvdata(wdd, wdt); watchdog_set_nowayout(wdd, WATCHDOG_NOWAYOUT); - - ret = watchdog_init_timeout(wdd, 0, dev); - if (ret) - dev_warn(dev, "unable to set timeout value, using default\n"); + watchdog_init_timeout(wdd, 0, dev); ret = devm_watchdog_register_device(dev, wdd); if (ret) { |