rtc: diasemi: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 2 Mar 2018 09:08:47 +0000 (10:08 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 2 Mar 2018 09:11:02 +0000 (10:11 +0100)
commitbb54be134a363f57d698b0c2887df36e468f3077
tree3534d8c89da4652b34e6c735ad95d1cb6d16b10b
parent35a2112377a626033d3067d126a3f79092fcfc36
rtc: diasemi: 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 before returning from the callback.

Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-da9052.c
drivers/rtc/rtc-da9055.c
drivers/rtc/rtc-da9063.c