rtc: Update rtc-dev to use y2038-safe time interfaces
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 22 Jan 2015 02:31:52 +0000 (02:31 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Sat, 24 Jan 2015 01:21:56 +0000 (17:21 -0800)
commit4ec2364f4910234030906b3f824b51c0d7065334
tree91441ff20b60d935b4fbede82d81d035f81d8bed
parentbc10aa93a8853d6dac820696ae9a3e757e19f315
rtc: Update rtc-dev to use y2038-safe time interfaces

Currently, rtc-dev.c uses y2038 problematic rtc_tm_to_time()
and rtc_time_to_tm(). So replace them with their corresponding
y2038-safe versions: rtc_tm_to_time64() and rtc_time64_to_tm().

Cc: pang.xunlei <pang.xunlei@linaro.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/rtc/rtc-dev.c
This page took 0.02604 seconds and 5 git commands to generate.