]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/rtc/rtc-pcf8563.c
rtc: pcf8563: let the core handle range offsetting
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 29 Aug 2019 21:25:47 +0000 (23:25 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 1 Sep 2019 08:57:47 +0000 (10:57 +0200)
commitf648d40b99ba7363bf4a1bbca5cc93904725dceb
tree321f4f2ed2e5fc3517cfa7b82a43198eef0e6a73
parentc7d5f6dbd9f9a68374f3d24c63a99691d792fd29
rtc: pcf8563: let the core handle range offsetting

Set the RTC range properly and use the core windowing and offsetting to
(unfortunately) map back to a 1970-2069 range.

Link: https://lore.kernel.org/r/20190829212547.19185-5-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf8563.c