[PATCH 4/4] x86: rtc: Stop using rtc deprecated functions

2018-03-09 Thread John Stultz
From: Benjamin Gaignard rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Cc: Arnd Bergmann Cc: Thomas Gleixner

[PATCH 4/4] x86: rtc: Stop using rtc deprecated functions

2018-03-09 Thread John Stultz
From: Benjamin Gaignard rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they rely on 32bits variables and that will make rtc break in y2038/2016. Stop using those two functions to safer 64bits ones. Cc: Arnd Bergmann Cc: Thomas Gleixner Cc: Ingo Molnar Cc: x...@kernel.org Cc: