rtc: rs5c372: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 14:43:53 +0000 (15:43 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:45 +0000 (14:20 +0100)
commit57f454fb52f631fb94fc64bcc7e77bf9ed52be9e
tree7b4993f0b5913af177df7e52c4b10f49fcf5d6d2
parentce5abb1939d3de92e971a0a3a59c473b34ca7383
rtc: rs5c372: 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.

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