Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

watchdog: iTCO_wdt: don't print out if registering watchdog fails

The core will do this already.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241004200314.5459-5-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Wolfram Sang and committed by
Wim Van Sebroeck
fb2de4ea 7022274d

+1 -3
+1 -3
drivers/watchdog/iTCO_wdt.c
··· 609 609 watchdog_stop_on_reboot(&p->wddev); 610 610 watchdog_stop_on_unregister(&p->wddev); 611 611 ret = devm_watchdog_register_device(dev, &p->wddev); 612 - if (ret != 0) { 613 - dev_err(dev, "cannot register watchdog device (err=%d)\n", ret); 612 + if (ret != 0) 614 613 return ret; 615 - } 616 614 617 615 dev_info(dev, "initialized. heartbeat=%d sec (nowayout=%d)\n", 618 616 heartbeat, nowayout);