diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-19 00:27:30 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 16:13:07 +0300 |
commit | 8f952c015f456d0acc0a5e31415f657ccf85824c (patch) | |
tree | 8ce265397a5413f47cc867cf1b4fac5ad75b6d22 | |
parent | 34b8580fe34d53226b83b2fd099317d7f4f9fd6f (diff) | |
download | linux-8f952c015f456d0acc0a5e31415f657ccf85824c.tar.xz |
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>
-rw-r--r-- | drivers/watchdog/ie6xx_wdt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/watchdog/ie6xx_wdt.c b/drivers/watchdog/ie6xx_wdt.c index 508fbefce9f6..c2de1ead0b56 100644 --- a/drivers/watchdog/ie6xx_wdt.c +++ b/drivers/watchdog/ie6xx_wdt.c @@ -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; |