OSDN Git Service

rtc: ftrtc010: let the core handle range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 4 Jun 2018 14:15:28 +0000 (16:15 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 7 Jun 2018 18:10:17 +0000 (20:10 +0200)
commitb8e62b58bc004391c68890ab0313317cff07fb6b
tree9608219c04d1ab0dcfaab991f1d02c6aa11fda62
parent73318f8b6bf0dbdbff4f21a3fff02d1467479555
rtc: ftrtc010: let the core handle range

The current range handling is highly suspicious. Anyway, let the core
handle it.
The RTC has a 32 bit counter on top of days + hh:mm:ss registers.

Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ftrtc010.c