[PATCH 34/51] rtc: pl031: stop using rtc deprecated functions
From: Linus Walleij <hidden>
Date: 2017-06-20 16:08:51
Also in:
linux-rtc, lkml
From: Linus Walleij <hidden>
Date: 2017-06-20 16:08:51
Also in:
linux-rtc, lkml
On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard [off-list ref] 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 <redacted> CC: Linus Walleij <redacted> CC: Alessandro Zummo <redacted> CC: Alexandre Belloni <redacted> CC: rtc-linux at googlegroups.com CC: linux-kernel at vger.kernel.org CC: linux-arm-kernel at lists.infradead.org
Acked-by: Linus Walleij <redacted> Yours, Linus Walleij