commit | ab0e08f15d23628dd8d50bf6ce1a935a8840c7dc | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed May 18 21:33:43 2011 +0000 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu May 19 14:24:16 2011 +0200 |
tree | 04cfc2202180f840d71a60e7ba4d48cc3003bc76 | |
parent | 61ee9a4ba05f0a4163d43a33dee7a0651e080b98 [diff] |
x86: hpet: Cleanup the clockevents init and register code No need to recalculate the frequency and the conversion factors over and over. Calculate the frequency once and use the new config/register interface and let the core code do the math. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: John Stultz <john.stultz@linaro.org> Reviewed-by: Ingo Molnar <mingo@elte.hu> Link: http://lkml.kernel.org/r/%3C20110518210136.646482357%40linutronix.de%3E