diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-18 23:27:28 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 15:13:06 +0200 |
commit | f51540b83faa1a575772b4a38d00aa9b2f263023 (patch) | |
tree | ecb683004b0b3052b6f17535fe1b045a739e9b0d | |
parent | 2d065d2e9b15c3bb2f00b7fa466c75425d8b9983 (diff) | |
download | linux-stable-f51540b83faa1a575772b4a38d00aa9b2f263023.tar.gz linux-stable-f51540b83faa1a575772b4a38d00aa9b2f263023.tar.bz2 linux-stable-f51540b83faa1a575772b4a38d00aa9b2f263023.zip |
watchdog: hpwdt: drop warning after registering device
The core will print out details now.
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>
-rw-r--r-- | drivers/watchdog/hpwdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 8a90f159ffb1..f7b5242b9c85 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -317,10 +317,8 @@ static int hpwdt_init_one(struct pci_dev *dev, hpwdt_dev.parent = &dev->dev; retval = watchdog_register_device(&hpwdt_dev); - if (retval < 0) { - dev_err(&dev->dev, "watchdog register failed: %d.\n", retval); + if (retval < 0) goto error_wd_register; - } dev_info(&dev->dev, "HPE Watchdog Timer Driver: Version: %s\n", HPWDT_VERSION); |