diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-19 00:27:46 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 16:13:12 +0300 |
commit | 90984aa137a1f1eb5c52eb8aaa63c0203ff12572 (patch) | |
tree | 69a4ed14b991603c0a6fe24d544daec992221ab3 | |
parent | 888ca35d74cef6e66cd3c651eba3fca6d66147e5 (diff) | |
download | linux-90984aa137a1f1eb5c52eb8aaa63c0203ff12572.tar.xz |
watchdog: pic32-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/pic32-wdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/pic32-wdt.c b/drivers/watchdog/pic32-wdt.c index 5ecdd880f0b7..41715d68d9e9 100644 --- a/drivers/watchdog/pic32-wdt.c +++ b/drivers/watchdog/pic32-wdt.c @@ -221,10 +221,8 @@ static int pic32_wdt_drv_probe(struct platform_device *pdev) watchdog_set_drvdata(wdd, wdt); ret = devm_watchdog_register_device(dev, wdd); - if (ret) { - dev_err(dev, "watchdog register failed, err %d\n", ret); + if (ret) return ret; - } platform_set_drvdata(pdev, wdd); |