forked from luck/tmp_suning_uos_patched
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:
parent
90984aa137
commit
375611e561
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user