diff options
author | Xunlei Pang <pang.xunlei@linaro.org> | 2015-04-02 06:34:29 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-03 09:18:25 +0300 |
commit | 5c7e11bc66647f2e4bc95de9b4302fff6d612f3a (patch) | |
tree | 2c6a4e6e0be4b0e4d838bac8626c18b71ae8c2ef /drivers/rtc/rtc-mc13xxx.c | |
parent | 4d644ab84c6ed66f7a628c74d83c34d85bec13bf (diff) | |
download | linux-5c7e11bc66647f2e4bc95de9b4302fff6d612f3a.tar.xz |
drivers/rtc/ab3100: Update driver to address y2038/y2106 issues
This driver has a number of y2038/y2106 issues.
This patch resolves them by:
- Replacing rtc_tm_to_time() with rtc_tm_to_time64()
- Replacing rtc_time_to_tm() with rtc_time64_to_tm()
- Changing ab3100_rtc_set_mmss() to use rtc_class_ops's set_mmss64()
After this patch, the driver should not have any remaining
y2038/y2106 issues.
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-10-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/rtc/rtc-mc13xxx.c')
0 files changed, 0 insertions, 0 deletions