watchdog: wm831x_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>
This commit is contained in:
parent
c8c844f28b
commit
f848a15347
|
@ -267,14 +267,7 @@ static int wm831x_wdt_probe(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = devm_watchdog_register_device(dev, &driver_data->wdt);
|
return devm_watchdog_register_device(dev, &driver_data->wdt);
|
||||||
if (ret != 0) {
|
|
||||||
dev_err(wm831x->dev, "watchdog_register_device() failed: %d\n",
|
|
||||||
ret);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct platform_driver wm831x_wdt_driver = {
|
static struct platform_driver wm831x_wdt_driver = {
|
||||||
|
|
Loading…
Reference in New Issue