summaryrefslogtreecommitdiff
path: root/drivers/watchdog/mena21_wdt.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-05-18 23:27:38 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 15:13:09 +0200
commiteddeb07bd6445139b99ec88b5a23877f57620802 (patch)
tree79e70f08bd34efd26f88aeada6975e368cfeb398 /drivers/watchdog/mena21_wdt.c
parent2b7ebd34895964174c6384ce1dade78fd82ca313 (diff)
watchdog: mena21_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>
Diffstat (limited to 'drivers/watchdog/mena21_wdt.c')
-rw-r--r--drivers/watchdog/mena21_wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/mena21_wdt.c b/drivers/watchdog/mena21_wdt.c
index e9ca4e0e25dc..99d2359d5a8a 100644
--- a/drivers/watchdog/mena21_wdt.c
+++ b/drivers/watchdog/mena21_wdt.c
@@ -190,10 +190,8 @@ static int a21_wdt_probe(struct platform_device *pdev)
dev_set_drvdata(dev, drv);
ret = devm_watchdog_register_device(dev, &a21_wdt);
- if (ret) {
- dev_err(dev, "Cannot register watchdog device\n");
+ if (ret)
return ret;
- }
dev_info(dev, "MEN A21 watchdog timer driver enabled\n");