diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-20 18:14:24 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-05-03 22:46:25 +0200 |
commit | 0d1c655380be0962842beeb82772bf37820ebda6 (patch) | |
tree | 3d56dc3767bcca51da6ab14a6224cb12a75eadcd /drivers/rtc/rtc-ls1x.c | |
parent | 51ed73eb998a1c79a2b0e9bed68f75a8a2c93b9b (diff) |
rtc: vr41xx: remove mktime usage
This driver uses mktime() and rtc_time_to_tm() to convert between time
values. This works fine on 64-bit kernels over the whole supported
range, and the vr41xx chip is a 64-bit MIPS implementation, but it is
inconsistent because it doesn't do the same thing on 32-bit kernels that
overflow in 2106 or 2038.
Changing it to use mktime64/rtc_time64_to_tm() should have no visible
impact on vr41xx but gets us closer to removing the 32-bit interfaces.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-ls1x.c')
0 files changed, 0 insertions, 0 deletions