[PATCH 07/51] rtc: ab8500: stop using rtc deprecated functions

Linus Walleij linus.walleij at linaro.org
Tue Jun 20 09:06:06 PDT 2017


On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard
<benjamin.gaignard at linaro.org> 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 <benjamin.gaignard at linaro.org>
> CC: Linus Walleij <linus.walleij at linaro.org>
> CC: Alessandro Zummo <a.zummo at towertech.it>
> CC: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> CC: rtc-linux at googlegroups.com
> CC: linux-kernel at vger.kernel.org
> CC: linux-arm-kernel at lists.infradead.org

Looks fine.
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list