ARM: realview/versatile: update clock source registration
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 13 Dec 2010 13:21:52 +0000 (13:21 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 22:44:41 +0000 (22:44 +0000)
commit11e718a6535c0c7a375b24c3ad60a98b988090c8
tree1c9583226ae3f0ab5dd166c0e183673a6d3ab251
parent2218543fe0c40ce36fa165c5003072cc8b236c34
ARM: realview/versatile: 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.

Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-versatile/timer-sp.c