diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-18 23:27:52 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 15:13:15 +0200 |
commit | d41e3f4ee5849c2d4f2467863d08e276b7a8e70b (patch) | |
tree | b63b3b495f5ec96363ba36ccf6a0079f3e7100e2 /drivers/watchdog | |
parent | 24b8eb74082de101852b1d570145fa2206ff74a1 (diff) | |
download | linux-stable-d41e3f4ee5849c2d4f2467863d08e276b7a8e70b.tar.gz linux-stable-d41e3f4ee5849c2d4f2467863d08e276b7a8e70b.tar.bz2 linux-stable-d41e3f4ee5849c2d4f2467863d08e276b7a8e70b.zip |
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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/sp5100_tco.c | 4 |
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", |