OSDN Git Service

rtc: pcf85063: stop validating rtc_time in .read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 21 Feb 2018 15:07:34 +0000 (16:07 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 17 Mar 2018 13:20:46 +0000 (14:20 +0100)
commit0a6b8886fd6a2117a7582ad8385c061bf7e6d0fb
tree84bef2199a2c81eb7509e64d15f6c0678a368fe4
parent859a6ddbe5d95fa95a66247c290c2c266fe67bf8
rtc: pcf85063: 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-pcf85063.c