watchdog: qcom-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
375611e561
commit
ccbf872a3e
|
@ -223,10 +223,8 @@ static int qcom_wdt_probe(struct platform_device *pdev)
|
||||||
watchdog_init_timeout(&wdt->wdd, 0, dev);
|
watchdog_init_timeout(&wdt->wdd, 0, dev);
|
||||||
|
|
||||||
ret = devm_watchdog_register_device(dev, &wdt->wdd);
|
ret = devm_watchdog_register_device(dev, &wdt->wdd);
|
||||||
if (ret) {
|
if (ret)
|
||||||
dev_err(dev, "failed to register watchdog\n");
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
|
||||||
|
|
||||||
platform_set_drvdata(pdev, wdt);
|
platform_set_drvdata(pdev, wdt);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue