OSDN Git Service

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)
commitb6cb398444bd64d28f7f25516148842913ef6594
tree54296748e2da0dd53048c64e8ae71c00525db25e
parentbb54be134a363f57d698b0c2887df36e468f3077
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