mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
watchdog: ziirave_wdt: drop warning after calling watchdog_init_timeout
The core will print out details now. Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
b74d646134
commit
154511636a
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue