diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-19 00:27:59 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 16:13:17 +0300 |
commit | c8c844f28b68d1b09be3993007b599b01886e6eb (patch) | |
tree | 40e53add4530898f3a3997efa587eb383834ea8e | |
parent | e290eb8c233923b099aa9e6ea717bf0b30871a78 (diff) | |
download | linux-c8c844f28b68d1b09be3993007b599b01886e6eb.tar.xz |
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>
-rw-r--r-- | drivers/watchdog/ts4800_wdt.c | 4 |
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); |