summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-05-19 00:27:33 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 16:13:08 +0300
commitca2d4490705f2f6d48292b171510a4230f56c7da (patch)
tree7578e71248f882c6c9edcc94b6fad528896ffd09
parent31f4a2cf8fc1e9d52f00e824480ef807904edbca (diff)
downloadlinux-ca2d4490705f2f6d48292b171510a4230f56c7da.tar.xz
watchdog: intel-mid_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/intel-mid_wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/intel-mid_wdt.c b/drivers/watchdog/intel-mid_wdt.c
index b2463f8276e6..2cdbd37c700c 100644
--- a/drivers/watchdog/intel-mid_wdt.c
+++ b/drivers/watchdog/intel-mid_wdt.c
@@ -161,10 +161,8 @@ static int mid_wdt_probe(struct platform_device *pdev)
set_bit(WDOG_HW_RUNNING, &wdt_dev->status);
ret = devm_watchdog_register_device(dev, wdt_dev);
- if (ret) {
- dev_err(dev, "error registering watchdog device\n");
+ if (ret)
return ret;
- }
dev_info(dev, "Intel MID watchdog device probed\n");