projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9daa2e1
)
watchdog: mei_wdt: drop warning after registering device
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Sat, 18 May 2019 21:27:37 +0000
(23:27 +0200)
committer
Wim Van Sebroeck
<wim@linux-watchdog.org>
Mon, 8 Jul 2019 13:13:09 +0000
(15:13 +0200)
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>
drivers/watchdog/mei_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/mei_wdt.c
b/drivers/watchdog/mei_wdt.c
index 8023cf28657abf846a115130418198bafd806f86..099f6305039d9f6c3e203f12b18c3a84648c6334 100644
(file)
--- a/
drivers/watchdog/mei_wdt.c
+++ b/
drivers/watchdog/mei_wdt.c
@@
-384,10
+384,8
@@
static int mei_wdt_register(struct mei_wdt *wdt)
watchdog_stop_on_reboot(&wdt->wdd);
ret = watchdog_register_device(&wdt->wdd);
- if (ret) {
- dev_err(dev, "unable to register watchdog device = %d.\n", ret);
+ if (ret)
watchdog_set_drvdata(&wdt->wdd, NULL);
- }
wdt->state = MEI_WDT_IDLE;