[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190419181601.7412-8-wsa+renesas@sang-engineering.com>
Date: Fri, 19 Apr 2019 20:15:52 +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 07/16] watchdog: i6300esb: 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/i6300esb.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/watchdog/i6300esb.c b/drivers/watchdog/i6300esb.c
index e312a2aeecad..17941c03996b 100644
--- a/drivers/watchdog/i6300esb.c
+++ b/drivers/watchdog/i6300esb.c
@@ -311,10 +311,7 @@ static int esb_probe(struct pci_dev *pdev,
edev->wdd.min_timeout = ESB_HEARTBEAT_MIN;
edev->wdd.max_timeout = ESB_HEARTBEAT_MAX;
edev->wdd.timeout = ESB_HEARTBEAT_DEFAULT;
- if (watchdog_init_timeout(&edev->wdd, heartbeat, NULL))
- dev_info(&pdev->dev,
- "heartbeat value must be " ESB_HEARTBEAT_RANGE
- ", using %u\n", edev->wdd.timeout);
+ watchdog_init_timeout(&edev->wdd, heartbeat, NULL);
watchdog_set_nowayout(&edev->wdd, nowayout);
watchdog_stop_on_reboot(&edev->wdd);
watchdog_stop_on_unregister(&edev->wdd);
--
2.11.0
Powered by blists - more mailing lists