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

watchdog: rti_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-8-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
844f8dff 8904da69

+1 -3
+1 -3
drivers/watchdog/rti_wdt.c
··· 336 336 watchdog_init_timeout(wdd, heartbeat, dev); 337 337 338 338 ret = watchdog_register_device(wdd); 339 - if (ret) { 340 - dev_err(dev, "cannot register watchdog device\n"); 339 + if (ret) 341 340 goto err_iomap; 342 - } 343 341 344 342 if (last_ping) 345 343 watchdog_set_last_hw_keepalive(wdd, last_ping);