]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29202387119b4bccb42ef48e2d661034c7de6606
tree0917cb092f87b7a7af3e9e51d8155315070647ec
parente26dda72dc791fa221d5ae70598d32e8b4bf1c68
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