forked from Minki/linux
watchdog: ni903x_wdt: 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
a239027325
commit
9076eb5dff
@ -211,10 +211,8 @@ static int ni903x_acpi_add(struct acpi_device *device)
|
||||
watchdog_init_timeout(wdd, timeout, dev);
|
||||
|
||||
ret = watchdog_register_device(wdd);
|
||||
if (ret) {
|
||||
dev_err(dev, "failed to register watchdog\n");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Switch from boot mode to user mode */
|
||||
outb(NIWD_CONTROL_RESET | NIWD_CONTROL_MODE,
|
||||
|
Loading…
Reference in New Issue
Block a user