watchdog: max77620_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:
Родитель
7da547350f
Коммит
9daa2e1436
|
@ -182,13 +182,7 @@ static int max77620_wdt_probe(struct platform_device *pdev)
|
|||
watchdog_set_drvdata(wdt_dev, wdt);
|
||||
|
||||
watchdog_stop_on_unregister(wdt_dev);
|
||||
ret = devm_watchdog_register_device(dev, wdt_dev);
|
||||
if (ret < 0) {
|
||||
dev_err(dev, "watchdog registration failed: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return devm_watchdog_register_device(dev, wdt_dev);
|
||||
}
|
||||
|
||||
static const struct platform_device_id max77620_wdt_devtype[] = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче