ARM: spear: update clock source registration
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 13 Dec 2010 13:21:21 +0000 (13:21 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 22:44:40 +0000 (22:44 +0000)
commite0387320c32d4b9852e6436233274003e82318a6
tree56d9f6314191f7dd549f9aa3bb66bed31af17a73
parent8492fd28987732e42f33a3711299927e8905d448
ARM: spear: update clock source registration

In d7e81c2 (clocksource: Add clocksource_register_hz/khz interface) new
interfaces were added which simplify (and optimize) the selection of the
divisor shift/mult constants.  Switch over to using this new interface.

Acked-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-spear/time.c