diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-18 23:27:45 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 15:13:12 +0200 |
commit | 888ca35d74cef6e66cd3c651eba3fca6d66147e5 (patch) | |
tree | 8729857a64cb4182cf07609d55ffd1e8cf38c911 | |
parent | watchdog: of_xilinx_wdt: drop warning after registering device (diff) | |
download | linux-888ca35d74cef6e66cd3c651eba3fca6d66147e5.tar.xz linux-888ca35d74cef6e66cd3c651eba3fca6d66147e5.zip |
watchdog: pic32-dmt: 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-dmt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/pic32-dmt.c b/drivers/watchdog/pic32-dmt.c index 4f2aca78f13a..f43062b3c4c8 100644 --- a/drivers/watchdog/pic32-dmt.c +++ b/drivers/watchdog/pic32-dmt.c @@ -212,10 +212,8 @@ static int pic32_dmt_probe(struct platform_device *pdev) watchdog_set_drvdata(wdd, dmt); 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); return 0; |