rtc: rx8025: check time validity when necessary
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 4 Aug 2015 09:33:59 +0000 (11:33 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:12 +0000 (13:19 +0200)
commitefbbb4fd6b6fe0d3d2cfb3c5bbcdf00f1995cb60
tree9f7822eaf64ffbc15e64840da6d275ba53a14c60
parent5c66e1e0b79bd63dcdfbc03b80823522643a1f14
rtc: rx8025: check time validity when necessary

Check time validity when reading time as this is when we need to know.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rx8025.c