OSDN Git Service

rtc: 88pm80x: let the core handle the RTC range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 17 May 2018 20:18:59 +0000 (22:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 17 May 2018 20:23:20 +0000 (22:23 +0200)
commit39ba69427a1541c9d599cfbe39366c0c7594340d
tree1514c18928c93c00259d2f6f5b765779a5f6eb65
parent661eb89a11c5f39249d8d0d50b4e538ef7bdd9d6
rtc: 88pm80x: let the core handle the RTC range

The 88pm80x RTC is storing the time as a 32bit offset from a 32bit counter
so it can handle dates from 0 to U32_MAX.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-88pm80x.c