summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-05-18 23:27:54 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 15:13:16 +0200
commitd311048eb0d211627dd8aab682e8412a1c0b7a02 (patch)
tree979f95c334db54f0c5838dc5ff2d531bafbdcd63
parent199801cd7a50b14b15c5b87528fd5e86dc81404f (diff)
downloadlinux-stable-d311048eb0d211627dd8aab682e8412a1c0b7a02.tar.gz
linux-stable-d311048eb0d211627dd8aab682e8412a1c0b7a02.tar.bz2
linux-stable-d311048eb0d211627dd8aab682e8412a1c0b7a02.zip
watchdog: sprd_wdt: drop warning after registering device
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>
-rw-r--r--drivers/watchdog/sprd_wdt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/sprd_wdt.c b/drivers/watchdog/sprd_wdt.c
index 916fb3f96bdc..edba4e278685 100644
--- a/drivers/watchdog/sprd_wdt.c
+++ b/drivers/watchdog/sprd_wdt.c
@@ -320,7 +320,6 @@ static int sprd_wdt_probe(struct platform_device *pdev)
ret = devm_watchdog_register_device(dev, &wdt->wdd);
if (ret) {
sprd_wdt_disable(wdt);
- dev_err(dev, "failed to register watchdog\n");
return ret;
}
platform_set_drvdata(pdev, wdt);