linux/drivers/rtc/rtc-max31335.c
Nuno Sá 4a7915a26d rtc: max31335: Fix ignored return value in set_alarm
[ Upstream commit f07640f9fb ]

Return the result from regmap_update_bits() instead of ignoring it
and always returning 0.

Fixes: dedaf03b99 ("rtc: max31335: add driver support")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20251128-max31335-handler-error-v1-1-6b6f7f78dbda@analog.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 14:03:38 +01:00

776 lines
21 KiB