diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-13 08:20:23 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-22 17:44:38 -0500 |
commit | d28b116b9239b603f790a5ed6f0c5fe329561b49 (patch) | |
tree | 8d35e4ed2329fcbc27965b93843dce93221b4a3b /arch/arm/plat-iop | |
parent | 894cf56b1a64b65360086c2c890c2ae7f257793f (diff) |
ARM: iop: 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.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-iop')
-rw-r--r-- | arch/arm/plat-iop/time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-iop/time.c b/arch/arm/plat-iop/time.c index d615e6fbe502..4332dc458ff9 100644 --- a/arch/arm/plat-iop/time.c +++ b/arch/arm/plat-iop/time.c | |||
@@ -170,7 +170,5 @@ void __init iop_init_time(unsigned long tick_rate) | |||
170 | write_trr1(0xffffffff); | 170 | write_trr1(0xffffffff); |
171 | write_tcr1(0xffffffff); | 171 | write_tcr1(0xffffffff); |
172 | write_tmr1(timer_ctl); | 172 | write_tmr1(timer_ctl); |
173 | clocksource_calc_mult_shift(&iop_clocksource, tick_rate, | 173 | clocksource_register_hz(&iop_clocksource, tick_rate); |
174 | IOP_MIN_RANGE); | ||
175 | clocksource_register(&iop_clocksource); | ||
176 | } | 174 | } |