diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-18 23:27:30 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 15:13:07 +0200 |
commit | 8f952c015f456d0acc0a5e31415f657ccf85824c (patch) | |
tree | 8ce265397a5413f47cc867cf1b4fac5ad75b6d22 /drivers/watchdog/ie6xx_wdt.c | |
parent | 34b8580fe34d53226b83b2fd099317d7f4f9fd6f (diff) | |
download | lwn-8f952c015f456d0acc0a5e31415f657ccf85824c.tar.gz lwn-8f952c015f456d0acc0a5e31415f657ccf85824c.zip |
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>
Diffstat (limited to 'drivers/watchdog/ie6xx_wdt.c')
-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; |