OSDN Git Service

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)
commit9323e9631c8502a08a92b831db55ce9c7434d1bd
tree0a5e90d7cfeec216c8336df60b74c0a9a2b27314
parentdb2a4af115c4d421bbde6ffedb67112134e3ccd2
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