mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
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>
This commit is contained in:
parent
140fb00c40
commit
c9e8ba3716
@ -146,12 +146,7 @@ static int da9055_wdt_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = devm_watchdog_register_device(dev, &driver_data->wdt);
|
||||
if (ret != 0)
|
||||
dev_err(da9055->dev, "watchdog_register_device() failed: %d\n",
|
||||
ret);
|
||||
|
||||
return ret;
|
||||
return devm_watchdog_register_device(dev, &driver_data->wdt);
|
||||
}
|
||||
|
||||
static struct platform_driver da9055_wdt_driver = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user