projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b8580
)
watchdog: ie6xx_wdt: drop warning after registering device
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Sat, 18 May 2019 21:27:30 +0000
(23:27 +0200)
committer
Wim Van Sebroeck
<wim@linux-watchdog.org>
Mon, 8 Jul 2019 13:13:07 +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/ie6xx_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/ie6xx_wdt.c
b/drivers/watchdog/ie6xx_wdt.c
index
508fbef
..
c2de1ea
100644
(file)
--- a/
drivers/watchdog/ie6xx_wdt.c
+++ b/
drivers/watchdog/ie6xx_wdt.c
@@
-254,12
+254,8
@@
static int ie6xx_wdt_probe(struct platform_device *pdev)
ie6xx_wdt_debugfs_init();
ret = watchdog_register_device(&ie6xx_wdt_dev);
- if (ret) {
- dev_err(&pdev->dev,
- "Watchdog timer: cannot register device (err =%d)\n",
- ret);
+ if (ret)
goto misc_register_error;
- }
return 0;