drivers/rtc/mxc: Convert get_alarm_or_time()/set_alarm_or_time() to use time64_t
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 2 Apr 2015 03:34:32 +0000 (20:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:18:28 +0000 (08:18 +0200)
commita015b8aabfd2fb58875dea001f1eac8100eacc2e
tree34514f71a00e35e2ab28b06351dc81d83df5fd44
parent482494a8d395877c4776a3d76f89342d7ad7c4c6
drivers/rtc/mxc: Convert get_alarm_or_time()/set_alarm_or_time() to use time64_t

We want to convert mxc_rtc_set_mmss() to use rtc_class_ops's
set_mmss64(), but it uses get_alarm_or_time()/set_alarm_or_time()
internal interfaces which are y2038 unsafe.

So here as a separate patch, it converts these two internal
interfaces of "mxc" to use safe time64_t to make some
preparations.

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-13-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/rtc/rtc-mxc.c