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: sl28cpld_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: Michael Walle <mwalle@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241004200314.5459-10-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
39885f22 74ccee5e

+1 -3
+1 -3
drivers/watchdog/sl28cpld_wdt.c
··· 198 198 } 199 199 200 200 ret = devm_watchdog_register_device(&pdev->dev, wdd); 201 - if (ret < 0) { 202 - dev_err(&pdev->dev, "failed to register watchdog device\n"); 201 + if (ret < 0) 203 202 return ret; 204 - } 205 203 206 204 dev_info(&pdev->dev, "initial timeout %d sec%s\n", 207 205 wdd->timeout, nowayout ? ", nowayout" : "");