Xunlei Pang 9a4a445e30 rtc: Convert rtc_set_ntp_time() to use timespec64
rtc_set_ntp_time() uses timespec which is y2038-unsafe,
so modify to use timespec64 which is y2038-safe, then
replace rtc_time_to_tm() with rtc_time64_to_tm().

Also adjust all its call sites(only NTP uses it) accordingly.

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>
2015-01-23 17:21:57 -08:00
..
2014-12-11 17:48:14 -08:00
2014-12-14 16:10:09 -08:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-10-14 02:18:17 +02:00
2014-12-14 16:10:09 -08:00
2014-08-08 15:57:20 -07:00
2013-04-19 13:51:25 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-09-19 12:39:19 +02:00
2014-04-03 16:21:16 -07:00