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>
This commit is contained in:
Wolfram Sang 2019-05-18 23:27:47 +02:00 committed by Wim Van Sebroeck
parent 90984aa137
commit 375611e561
1 changed files with 1 additions and 3 deletions

View File

@ -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);