]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: fsl-ftm-alarm: switch to rtc_time64_to_tm/rtc_tm_to_time64
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 16 Oct 2019 20:12:22 +0000 (22:12 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 8 Nov 2019 15:14:08 +0000 (16:14 +0100)
commit79af3645ee91dbddbaba1b503f7440cb64852b94
tree0a5e90d7cfeec216c8336df60b74c0a9a2b27314
parentc6d4d57da7b0b08d9c721f0dea505ae8eb07cd37
rtc: fsl-ftm-alarm: switch to rtc_time64_to_tm/rtc_tm_to_time64

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

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