aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-05-18 23:27:59 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 15:13:17 +0200
commitc8c844f28b68d1b09be3993007b599b01886e6eb (patch)
tree40e53add4530898f3a3997efa587eb383834ea8e /drivers/watchdog
parentwatchdog: tegra_wdt: drop warning after registering device (diff)
downloadlinux-dev-c8c844f28b68d1b09be3993007b599b01886e6eb.tar.xz
linux-dev-c8c844f28b68d1b09be3993007b599b01886e6eb.zip
watchdog: ts4800_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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/ts4800_wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/ts4800_wdt.c b/drivers/watchdog/ts4800_wdt.c
index 9dc6d7f45806..c137ad2bd5c3 100644
--- a/drivers/watchdog/ts4800_wdt.c
+++ b/drivers/watchdog/ts4800_wdt.c
@@ -171,10 +171,8 @@ static int ts4800_wdt_probe(struct platform_device *pdev)
ts4800_wdt_stop(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);