mirror of https://gitee.com/openkylin/linux.git
watchdog: nic7018_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
9076eb5dff
commit
0a33dce48f
|
@ -210,7 +210,6 @@ static int nic7018_probe(struct platform_device *pdev)
|
||||||
ret = watchdog_register_device(wdd);
|
ret = watchdog_register_device(wdd);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
outb(LOCK, wdt->io_base + WDT_REG_LOCK);
|
outb(LOCK, wdt->io_base + WDT_REG_LOCK);
|
||||||
dev_err(dev, "failed to register watchdog\n");
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue