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)
commitce2e5a7613c64ac919d403fd957a472a0f12360e
treeba5e9f25575bcf13b08b2839d92f50d009c821cc
parent22652ba72453d35c8a637d5c0f06b3dc29ff9eb0
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