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

index 508fbefce9f6a748ef6ed1a3795e049ea3e2a458..c2de1ead0b566d9763f3643e52f870e6c6145471 100644 (file)
@@ -254,12 +254,8 @@ static int ie6xx_wdt_probe(struct platform_device *pdev)
        ie6xx_wdt_debugfs_init();
 
        ret = watchdog_register_device(&ie6xx_wdt_dev);
-       if (ret) {
-               dev_err(&pdev->dev,
-                       "Watchdog timer: cannot register device (err =%d)\n",
-                                                                       ret);
+       if (ret)
                goto misc_register_error;
-       }
 
        return 0;