diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-18 23:27:55 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 15:13:16 +0200 |
commit | 7283b217aebda61d4ecfad799e2353fa5ce91e2e (patch) | |
tree | 1db3a1d2528ef66da3d94fff23bde41771da72eb /drivers/watchdog/st_lpc_wdt.c | |
parent | d311048eb0d211627dd8aab682e8412a1c0b7a02 (diff) | |
download | lwn-7283b217aebda61d4ecfad799e2353fa5ce91e2e.tar.gz lwn-7283b217aebda61d4ecfad799e2353fa5ce91e2e.zip |
watchdog: st_lpc_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/st_lpc_wdt.c')
-rw-r--r-- | drivers/watchdog/st_lpc_wdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/st_lpc_wdt.c b/drivers/watchdog/st_lpc_wdt.c index 7a90184eb950..14ab6559c748 100644 --- a/drivers/watchdog/st_lpc_wdt.c +++ b/drivers/watchdog/st_lpc_wdt.c @@ -228,10 +228,8 @@ static int st_wdog_probe(struct platform_device *pdev) return ret; ret = devm_watchdog_register_device(dev, &st_wdog_dev); - if (ret) { - dev_err(dev, "Unable to register watchdog\n"); + if (ret) return ret; - } st_wdog_setup(st_wdog, true); |