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

watchdog: gxp-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-4-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
7022274d c9e8ba37

+1 -3
+1 -3
drivers/watchdog/gxp-wdt.c
··· 151 151 152 152 watchdog_stop_on_reboot(&drvdata->wdd); 153 153 err = devm_watchdog_register_device(dev, &drvdata->wdd); 154 - if (err) { 155 - dev_err(dev, "Failed to register watchdog device"); 154 + if (err) 156 155 return err; 157 - } 158 156 159 157 dev_info(dev, "HPE GXP watchdog timer"); 160 158