diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-18 23:27:41 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 15:13:10 +0200 |
commit | 9076eb5dff9351c2178f76bb2ce63c2c0c98472a (patch) | |
tree | 969b8584c657c3bd5e5757bf8cb0e8f25d68b6df /drivers/watchdog | |
parent | a239027325d0ea6722d9ce04b920b894d93b5fed (diff) | |
download | linux-stable-9076eb5dff9351c2178f76bb2ce63c2c0c98472a.tar.gz linux-stable-9076eb5dff9351c2178f76bb2ce63c2c0c98472a.tar.bz2 linux-stable-9076eb5dff9351c2178f76bb2ce63c2c0c98472a.zip |
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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/ni903x_wdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/ni903x_wdt.c b/drivers/watchdog/ni903x_wdt.c index 60f5608af2a8..4cebad324b20 100644 --- a/drivers/watchdog/ni903x_wdt.c +++ b/drivers/watchdog/ni903x_wdt.c @@ -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, |