]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc: time: Replace update_persistent_clock() with CONFIG_RTC_SYSTOHC
authorXunlei Pang <pang.xunlei@linaro.org>
Fri, 12 Jun 2015 03:10:17 +0000 (11:10 +0800)
committerAllen Pais <allen.pais@oracle.com>
Wed, 9 Sep 2015 18:59:11 +0000 (00:29 +0530)
commit8ee70e59c2783bce59b657741ab0bd34db4ea159
tree57c4a3583cecfed9c7685b3b840dd0a1585e2b15
parent6293dbd686528e1b9275b80234b199b9e579e547
sparc: time: Replace update_persistent_clock() with CONFIG_RTC_SYSTOHC

On Sparc systems, update_persistent_clock() uses RTC drivers to do
the job, it makes more sense to hand it over to CONFIG_RTC_SYSTOHC.

In the long run, all the update_persistent_clock() should migrate to
proper class RTC drivers if any and use CONFIG_RTC_SYSTOHC instead.

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
(cherry picked from commit 460ea8d70db1ffd9a5d6996c240c34458473334f)
(cherry picked from commit aed860c3f7bf93c467374a7e69b44a40dd90aa92)
arch/sparc/Kconfig
arch/sparc/kernel/time_32.c
arch/sparc/kernel/time_64.c