rtc: st-lpc: make it robust against y2038/2106 bug
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 19 Jun 2017 09:36:22 +0000 (11:36 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 9 Jul 2017 20:32:18 +0000 (22:32 +0200)
commitf4b82d39e40fc9c3493826abb49c64c37c7025b9
tree3d6ea46760fa2dd1b789b20e6ab7e419c80dc6db
parent69c31226fc9f887dcd5c27a91f5cc0f244a6953e
rtc: st-lpc: make it robust against y2038/2106 bug

Make driver use u64 variables and functions to be sure that
it will support dates after year 2038.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-st-lpc.c