projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
913b187
)
watchdog: tegra_wdt: drop warning after registering device
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Sat, 18 May 2019 21:27:58 +0000
(23:27 +0200)
committer
Wim Van Sebroeck
<wim@linux-watchdog.org>
Mon, 8 Jul 2019 13:13:17 +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/tegra_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/tegra_wdt.c
b/drivers/watchdog/tegra_wdt.c
index a58b000acc4f5a96b29c5e49f56fd4ef996c2577..dfe06e506cad6026a0fb155d6162e1dadb3addf8 100644
(file)
--- a/
drivers/watchdog/tegra_wdt.c
+++ b/
drivers/watchdog/tegra_wdt.c
@@
-219,10
+219,8
@@
static int tegra_wdt_probe(struct platform_device *pdev)
watchdog_stop_on_unregister(wdd);
ret = devm_watchdog_register_device(dev, wdd);
- if (ret) {
- dev_err(dev, "failed to register watchdog device\n");
+ if (ret)
return ret;
- }
platform_set_drvdata(pdev, wdt);