Re: [rtc-linux] [PATCH 12/51] rtc: coh901331: stop using rtc deprecated functions

2017-06-20 Thread Linus Walleij
On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard wrote: > 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. > >

[rtc-linux] [PATCH 12/51] rtc: coh901331: stop using rtc deprecated functions

2017-06-20 Thread 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. Signed-off-by: Benjamin Gaignard CC: Linus Walleij