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: da9055_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-3-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
c9e8ba37 140fb00c

+1 -6
+1 -6
drivers/watchdog/da9055_wdt.c
··· 146 146 return ret; 147 147 } 148 148 149 - ret = devm_watchdog_register_device(dev, &driver_data->wdt); 150 - if (ret != 0) 151 - dev_err(da9055->dev, "watchdog_register_device() failed: %d\n", 152 - ret); 153 - 154 - return ret; 149 + return devm_watchdog_register_device(dev, &driver_data->wdt); 155 150 } 156 151 157 152 static struct platform_driver da9055_wdt_driver = {