mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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>
This commit is contained in:
parent
2d065d2e9b
commit
f51540b83f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user