ARM: ixp4xx: update clock source registration
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 13 Dec 2010 13:17:40 +0000 (13:17 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 22:44:31 +0000 (22:44 +0000)
commitb7c7c50adcf0d9c901542c5db8d795fe226bb454
treef4bca159564449af01c9126d12a46aa2c3310d4e
parent08963dab7c6b0ba6a687cb008299eabbbeff7282
ARM: ixp4xx: 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: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp4xx/common.c