diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-12-01 14:25:59 -0500 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-02-01 21:37:39 -0500 |
commit | c7f798e3722610d486e951f04bbc00b6ba124d62 (patch) | |
tree | 88afa83284bf1e769fa4865eddcf57912f7fd433 /include/linux/clocksource.h | |
parent | 13f0f030fb9d52c7fd48f3e6a2fe9ab0123875da (diff) |
clocksource: Get rid of clocksource_calc_mult_shift()
No one is using this, so encourage the use of
clocksource_register_hz/khz(), and drop this helper.
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
[jstultz: tweaked commit message]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r-- | include/linux/clocksource.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h index 081147da0564..fbe89e17124e 100644 --- a/include/linux/clocksource.h +++ b/include/linux/clocksource.h | |||
@@ -319,13 +319,6 @@ static inline void __clocksource_updatefreq_khz(struct clocksource *cs, u32 khz) | |||
319 | __clocksource_updatefreq_scale(cs, 1000, khz); | 319 | __clocksource_updatefreq_scale(cs, 1000, khz); |
320 | } | 320 | } |
321 | 321 | ||
322 | static inline void | ||
323 | clocksource_calc_mult_shift(struct clocksource *cs, u32 freq, u32 minsec) | ||
324 | { | ||
325 | return clocks_calc_mult_shift(&cs->mult, &cs->shift, freq, | ||
326 | NSEC_PER_SEC, minsec); | ||
327 | } | ||
328 | |||
329 | #ifdef CONFIG_GENERIC_TIME_VSYSCALL | 322 | #ifdef CONFIG_GENERIC_TIME_VSYSCALL |
330 | extern void | 323 | extern void |
331 | update_vsyscall(struct timespec *ts, struct timespec *wtm, | 324 | update_vsyscall(struct timespec *ts, struct timespec *wtm, |