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:
375611e
)
watchdog: qcom-wdt: drop warning after registering device
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Sat, 18 May 2019 21:27:48 +0000
(23:27 +0200)
committer
Wim Van Sebroeck
<wim@linux-watchdog.org>
Mon, 8 Jul 2019 13:13:13 +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/qcom-wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/qcom-wdt.c
b/drivers/watchdog/qcom-wdt.c
index fc0f7e5de38d860bc568a798d1a0ef14b5f0000a..7be7f87be28fdda3aad3cd3da48ab86c88e0f94f 100644
(file)
--- a/
drivers/watchdog/qcom-wdt.c
+++ b/
drivers/watchdog/qcom-wdt.c
@@
-223,10
+223,8
@@
static int qcom_wdt_probe(struct platform_device *pdev)
watchdog_init_timeout(&wdt->wdd, 0, dev);
ret = devm_watchdog_register_device(dev, &wdt->wdd);
- if (ret) {
- dev_err(dev, "failed to register watchdog\n");
+ if (ret)
return ret;
- }
platform_set_drvdata(pdev, wdt);
return 0;