]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ab-b5ze-s3: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Feb 2018 15:23:54 +0000 (16:23 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 2 Mar 2018 09:09:59 +0000 (10:09 +0100)
commit9a28f0cdac388ca8a50bb65dedbc7228e295022e
treeba5e9f25575bcf13b08b2839d92f50d009c821cc
parent24b7fc2d0e2b8c13857edcca9f3abf887e6a8c4a
rtc: ab-b5ze-s3: stop validating rtc_time in .read_time

The RTC core is always calling rtc_valid_tm after the read_time callback.
It is not necessary to call it just before returning from the callback.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ab-b5ze-s3.c