watchdog: mena21_wdt: drop warning after registering device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 18 May 2019 21:27:38 +0000 (23:27 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 8 Jul 2019 13:13:09 +0000 (15:13 +0200)
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>
drivers/watchdog/mena21_wdt.c

index e9ca4e0e25dc02babc50bb2818346cb9bc9d096a..99d2359d5a8a767f37c71675b95f84c9a282da89 100644 (file)
@@ -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");