forked from Minki/linux
watchdog: da9062_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
60415f701f
commit
04892d893b
@ -214,11 +214,8 @@ static int da9062_wdt_probe(struct platform_device *pdev)
|
||||
watchdog_set_drvdata(&wdt->wdtdev, wdt);
|
||||
|
||||
ret = devm_watchdog_register_device(dev, &wdt->wdtdev);
|
||||
if (ret < 0) {
|
||||
dev_err(wdt->hw->dev,
|
||||
"watchdog registration failed (%d)\n", ret);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
return da9062_wdt_ping(&wdt->wdtdev);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user