watchdog: jz4740_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:
Wolfram Sang 2019-05-18 23:27:34 +02:00 committed by Wim Van Sebroeck
parent ca2d449070
commit 9ee644c932

View File

@ -187,11 +187,7 @@ static int jz4740_wdt_probe(struct platform_device *pdev)
return PTR_ERR(drvdata->rtc_clk);
}
ret = devm_watchdog_register_device(dev, &drvdata->wdt);
if (ret < 0)
return ret;
return 0;
return devm_watchdog_register_device(dev, &drvdata->wdt);
}
static struct platform_driver jz4740_wdt_driver = {