mirror of https://gitee.com/openkylin/linux.git
watchdog: imx2_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
8f952c015f
commit
63c1cd5345
|
@ -316,10 +316,8 @@ static int __init imx2_wdt_probe(struct platform_device *pdev)
|
||||||
regmap_write(wdev->regmap, IMX2_WDT_WMCR, 0);
|
regmap_write(wdev->regmap, IMX2_WDT_WMCR, 0);
|
||||||
|
|
||||||
ret = watchdog_register_device(wdog);
|
ret = watchdog_register_device(wdog);
|
||||||
if (ret) {
|
if (ret)
|
||||||
dev_err(&pdev->dev, "cannot register watchdog device\n");
|
|
||||||
goto disable_clk;
|
goto disable_clk;
|
||||||
}
|
|
||||||
|
|
||||||
dev_info(&pdev->dev, "timeout %d sec (nowayout=%d)\n",
|
dev_info(&pdev->dev, "timeout %d sec (nowayout=%d)\n",
|
||||||
wdog->timeout, nowayout);
|
wdog->timeout, nowayout);
|
||||||
|
|
Loading…
Reference in New Issue