mirror of https://gitee.com/openkylin/linux.git
watchdog: ie6xx_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
34b8580fe3
commit
8f952c015f
|
@ -254,12 +254,8 @@ static int ie6xx_wdt_probe(struct platform_device *pdev)
|
|||
ie6xx_wdt_debugfs_init();
|
||||
|
||||
ret = watchdog_register_device(&ie6xx_wdt_dev);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev,
|
||||
"Watchdog timer: cannot register device (err =%d)\n",
|
||||
ret);
|
||||
if (ret)
|
||||
goto misc_register_error;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue