[rtc-linux] Re: [PATCH 34/51] rtc: pl031: stop using rtc deprecated functions

2017-06-20 Thread Russell King - ARM Linux
On Tue, Jun 20, 2017 at 06:08:48PM +0200, Linus Walleij wrote: > 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 f

[rtc-linux] Re: [PATCH 34/51] rtc: pl031: 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. > > Signed-off-by: Benjamin Gaignard > CC: