rtc: s35390a: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 12:54:46 +0000 (13:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:43 +0000 (14:20 +0100)
commitbb530199a84593504e4cdf1ffd4636726df4f139
tree0917cb092f87b7a7af3e9e51d8155315070647ec
parent488c6dfe40a6fc83329596e4b1e4cd9abf67ef1d
rtc: s35390a: 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-s35390a.c