diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-19 00:27:56 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 16:13:16 +0300 |
commit | 71777442df8f63954d6f2029998afb565d307bc2 (patch) | |
tree | e4bfaf3ec8a5cab0bbe2c194fbe96f9f2b3ca5f5 /drivers/watchdog/stm32_iwdg.c | |
parent | 7283b217aebda61d4ecfad799e2353fa5ce91e2e (diff) | |
download | linux-71777442df8f63954d6f2029998afb565d307bc2.tar.xz |
watchdog: stm32_iwdg: 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/stm32_iwdg.c')
-rw-r--r-- | drivers/watchdog/stm32_iwdg.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/stm32_iwdg.c b/drivers/watchdog/stm32_iwdg.c index d569a3634d9b..a3a329011a06 100644 --- a/drivers/watchdog/stm32_iwdg.c +++ b/drivers/watchdog/stm32_iwdg.c @@ -263,10 +263,8 @@ static int stm32_iwdg_probe(struct platform_device *pdev) watchdog_init_timeout(wdd, 0, dev); ret = devm_watchdog_register_device(dev, wdd); - if (ret) { - dev_err(dev, "failed to register watchdog device\n"); + if (ret) return ret; - } platform_set_drvdata(pdev, wdt); |