Files
twx-linux/drivers
Christophe JAILLET 2ce7ec8094 rtc: max8997: Fix the returned value in case of error in 'max8997_rtc_read_alarm()'
[ Upstream commit 41ef387820 ]

In case of error, we return 0.
This is spurious and not consistent with the other functions of the driver.
Propagate the error code instead.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-21 10:41:03 +01:00
..
2019-12-05 15:35:23 +01:00
2019-09-16 08:19:34 +02:00
2019-05-31 06:48:15 -07:00