]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: nuc900: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 10:27:10 +0000 (11:27 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 2 Mar 2018 09:12:17 +0000 (10:12 +0100)
commit85b99126793eed5b3dc542a5e064711d51b58578
tree54296748e2da0dd53048c64e8ae71c00525db25e
parent5c9ae7daebc1de1fae2033e80c990c8ef386a252
rtc: nuc900: 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-nuc900.c