From: Wolfram Sang Date: Fri, 19 Apr 2019 18:15:56 +0000 (+0200) Subject: watchdog: renesas_wdt: drop warning after calling watchdog_init_timeout X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cd6457a9254e2b58e451ab188c5e1cd66c6c9dca;p=openwrt%2Fstaging%2Fblogic.git watchdog: renesas_wdt: 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/renesas_wdt.c b/drivers/watchdog/renesas_wdt.c index 918266b6a516..565dbc1ec638 100644 --- a/drivers/watchdog/renesas_wdt.c +++ b/drivers/watchdog/renesas_wdt.c @@ -235,9 +235,7 @@ static int rwdt_probe(struct platform_device *pdev) watchdog_stop_on_unregister(&priv->wdev); /* This overrides the default timeout only if DT configuration was found */ - ret = watchdog_init_timeout(&priv->wdev, 0, &pdev->dev); - if (ret) - dev_warn(&pdev->dev, "Specified timeout value invalid, using default\n"); + watchdog_init_timeout(&priv->wdev, 0, &pdev->dev); ret = watchdog_register_device(&priv->wdev); if (ret < 0)