[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190419181601.7412-11-wsa+renesas@sang-engineering.com>
Date: Fri, 19 Apr 2019 20:15:55 +0200
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: linux-watchdog@...r.kernel.org
Cc: linux-renesas-soc@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 10/16] watchdog: nic7018_wdt: drop warning after calling watchdog_init_timeout
The core will print out details now.
Reviewed-by: Guenter Roeck <linux@...ck-us.net>
Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
---
drivers/watchdog/nic7018_wdt.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/watchdog/nic7018_wdt.c b/drivers/watchdog/nic7018_wdt.c
index dcd265685837..82843abe38f8 100644
--- a/drivers/watchdog/nic7018_wdt.c
+++ b/drivers/watchdog/nic7018_wdt.c
@@ -211,10 +211,7 @@ static int nic7018_probe(struct platform_device *pdev)
watchdog_set_drvdata(wdd, wdt);
watchdog_set_nowayout(wdd, nowayout);
-
- ret = watchdog_init_timeout(wdd, timeout, dev);
- if (ret)
- dev_warn(dev, "unable to set timeout value, using default\n");
+ watchdog_init_timeout(wdd, timeout, dev);
/* Unlock WDT register */
outb(UNLOCK, wdt->io_base + WDT_REG_LOCK);
--
2.11.0
Powered by blists - more mailing lists