From: Wolfram Sang Date: Fri, 19 Apr 2019 18:15:59 +0000 (+0200) Subject: watchdog: stm32_iwdg: drop warning after calling watchdog_init_timeout X-Git-Tag: v5.4-rc1~1007^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6781ce2ef1b92be9f6b3528f4d81976e997a5bb6;p=platform%2Fkernel%2Flinux-rpi.git watchdog: stm32_iwdg: 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/stm32_iwdg.c b/drivers/watchdog/stm32_iwdg.c index 68756a4..6f7c2bc 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) {