From: Xunlei Pang Date: Thu, 2 Apr 2015 03:34:30 +0000 (-0700) Subject: drivers/rtc/mc13xxx: Update driver to address y2038/y2106 issues X-Git-Tag: omap-for-v4.1/fixes-rc1~197^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0307b0d77a0830b0fd4a22b5db4a9fa723a5fa5f;p=pandora-kernel.git drivers/rtc/mc13xxx: Update driver to address y2038/y2106 issues This driver has a number of y2038/y2106 issues. This patch resolves them by: - Replacing rtc_time_to_tm() with rtc_time64_to_tm() - Changing mc13xxx_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 Signed-off-by: John Stultz Acked-by: Alessandro Zummo Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1427945681-29972-11-git-send-email-john.stultz@linaro.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed