]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
watchdog: i6300esb: drop warning after calling watchdog_init_timeout
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 19 Apr 2019 18:15:52 +0000 (20:15 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:05:01 +0000 (21:05 +0200)
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>
drivers/watchdog/i6300esb.c

index e312a2aeecad3bf20c957c4a40730798cd8749bc..17941c03996b65bc0eb518f418f12a4c6933d5a8 100644 (file)
@@ -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);