rtc: sirfsoc: switch to rtc_time64_to_tm/rtc_tm_to_time64
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 5 Mar 2020 16:04:52 +0000 (17:04 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:09 +0000 (11:12 +0100)
commit09b875a426c97bd6b2e6a56b8ca37680965524fb
tree884884782272d713b90c1e576f55f52a691f5aca
parentcd65dd4180df66f5b469e2a52caae3bfe38d5526
rtc: sirfsoc: switch to rtc_time64_to_tm/rtc_tm_to_time64

Call the 64bit versions of rtc_tm time conversion to avoid the y2106 issue.

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