summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-05-18 23:27:52 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 15:13:15 +0200
commitd41e3f4ee5849c2d4f2467863d08e276b7a8e70b (patch)
treeb63b3b495f5ec96363ba36ccf6a0079f3e7100e2
parent24b8eb74082de101852b1d570145fa2206ff74a1 (diff)
downloadlinux-d41e3f4ee5849c2d4f2467863d08e276b7a8e70b.tar.bz2
watchdog: sp5100_tco: 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/sp5100_tco.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c
index cd4430ff9b1c..93bd302ae7c5 100644
--- a/drivers/watchdog/sp5100_tco.c
+++ b/drivers/watchdog/sp5100_tco.c
@@ -402,10 +402,8 @@ static int sp5100_tco_probe(struct platform_device *pdev)
return ret;
ret = devm_watchdog_register_device(dev, wdd);
- if (ret) {
- dev_err(dev, "cannot register watchdog device (err=%d)\n", ret);
+ if (ret)
return ret;
- }
/* Show module parameters */
dev_info(dev, "initialized. heartbeat=%d sec (nowayout=%d)\n",