Files
twx-linux/drivers/rtc
Christophe JAILLET aa3baaae55 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-17 20:38:03 +01:00
..
2017-07-07 13:14:14 +02:00
2017-09-05 09:55:02 +02:00
2017-07-07 13:14:14 +02:00
2017-08-24 16:34:51 +02:00
2017-09-01 01:10:11 +02:00
…
2017-09-01 01:10:11 +02:00
2017-09-01 01:10:11 +02:00
…
…
2017-08-22 12:05:21 +02:00
2017-09-05 09:55:02 +02:00
2017-09-01 01:10:11 +02:00
…
…
2017-08-24 11:03:35 +02:00
2017-06-03 10:52:04 +02:00
…