OSDN Git Service

rtc: max6900: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 15:01:52 +0000 (16:01 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:45 +0000 (14:20 +0100)
commitceed43f719e61f437659569b57e171263dadda08
treee725ec8556f0f7625e40a19e3d90e0656f3ff2ca
parent44db5c92a7110e70b45a5caa1d56f8706b7fc76d
rtc: max6900: 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-max6900.c