mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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:
parent
ca2d449070
commit
9ee644c932
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user