diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-05-18 23:27:47 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-07-08 15:13:13 +0200 |
commit | 375611e561b13f3be01e9b7be79f54de4bfd7711 (patch) | |
tree | ca703d7ba7e0ba2bfa7eb27ac7945d1bbab20232 /drivers/watchdog | |
parent | 90984aa137a1f1eb5c52eb8aaa63c0203ff12572 (diff) | |
download | linux-375611e561b13f3be01e9b7be79f54de4bfd7711.tar.bz2 |
watchdog: pnx4008_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')
-rw-r--r-- | drivers/watchdog/pnx4008_wdt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c index d9e03544aeae..124b1c66dc29 100644 --- a/drivers/watchdog/pnx4008_wdt.c +++ b/drivers/watchdog/pnx4008_wdt.c @@ -221,10 +221,8 @@ static int pnx4008_wdt_probe(struct platform_device *pdev) set_bit(WDOG_HW_RUNNING, &pnx4008_wdd.status); ret = devm_watchdog_register_device(dev, &pnx4008_wdd); - if (ret < 0) { - dev_err(dev, "cannot register watchdog device\n"); + if (ret < 0) return ret; - } dev_info(dev, "heartbeat %d sec\n", pnx4008_wdd.timeout); |