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)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 24 Jun 2015 23:13:43 +0000 (01:13 +0200)
commit460ea8d70db1ffd9a5d6996c240c34458473334f
tree2c487bc17c7334a0d59de075830911c9335de919
parent9c5150b31b49e3d89c52df9b1c1ebcea4e665ec3
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>
arch/sparc/Kconfig
arch/sparc/kernel/time_32.c
arch/sparc/kernel/time_64.c