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:
0a33dce
)
watchdog: npcm_wdt: drop warning after registering device
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Sat, 18 May 2019 21:27:43 +0000
(23:27 +0200)
committer
Wim Van Sebroeck
<wim@linux-watchdog.org>
Mon, 8 Jul 2019 13:13:11 +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/npcm_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/npcm_wdt.c
b/drivers/watchdog/npcm_wdt.c
index 9d6c1689b12cc558a0ae085773e98d8e7c2a2f3f..9c773c3d6d5dc5b9c0f23d33aef332c56304ab5b 100644
(file)
--- a/
drivers/watchdog/npcm_wdt.c
+++ b/
drivers/watchdog/npcm_wdt.c
@@
-220,10
+220,8
@@
static int npcm_wdt_probe(struct platform_device *pdev)
return ret;
ret = devm_watchdog_register_device(dev, &wdt->wdd);
- if (ret) {
- dev_err(dev, "failed to register watchdog\n");
+ if (ret)
return ret;
- }
dev_info(dev, "NPCM watchdog driver enabled\n");