watchdog: ziirave_wdt: drop warning after calling watchdog_init_timeout
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 19 Apr 2019 18:16:01 +0000 (20:16 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:10:33 +0000 (21:10 +0200)
The core will print out details now.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
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/ziirave_wdt.c

index d3594aa3a3743dea1f67878a38bee4d75d43ce85..43e6b575c32c7ace3faf2f7190f92e1d2f963cb2 100644 (file)
@@ -658,11 +658,7 @@ static int ziirave_wdt_probe(struct i2c_client *client,
        w_priv->wdd.parent = &client->dev;
        w_priv->wdd.groups = ziirave_wdt_groups;
 
-       ret = watchdog_init_timeout(&w_priv->wdd, wdt_timeout, &client->dev);
-       if (ret) {
-               dev_info(&client->dev,
-                        "Unable to select timeout value, using default\n");
-       }
+       watchdog_init_timeout(&w_priv->wdd, wdt_timeout, &client->dev);
 
        /*
         * The default value set in the watchdog should be perfectly valid, so