mips: convert to clocksource_register_hz/khz

This converts the mips clocksources to use clocksource_register_hz/khz

CC: Ralf Baechle <ralf@linux-mips.org>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <johnstul@us.ibm.com>
This commit is contained in:
John Stultz
2010-04-26 20:23:11 -07:00
committed by John Stultz
parent 39280742ef
commit 75c4fd8c78
13 changed files with 14 additions and 66 deletions

View File

@@ -84,12 +84,6 @@ static inline int init_mips_clocksource(void)
#endif
}
static inline void clocksource_set_clock(struct clocksource *cs,
unsigned int clock)
{
clocksource_calc_mult_shift(cs, clock, 4);
}
static inline void clockevent_set_clock(struct clock_event_device *cd,
unsigned int clock)
{