msm: timer: Remove msm_clocks[] and simplify code
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 8 Nov 2011 18:34:07 +0000 (10:34 -0800)
committerDavid Brown <davidb@codeaurora.org>
Thu, 10 Nov 2011 18:36:33 +0000 (10:36 -0800)
commit2a00c1068b2c1ae451e230ef8bd010d7b2f56f54
treea419230baad3776586482b070f4723ddec38a305
parenta850c3f6446d30b47c984d3f9e45c935385fd592
msm: timer: Remove msm_clocks[] and simplify code

We can simplify the timer code now that we only use the DGT for
the clocksource and the GPT for the clockevent. Get rid of the
msm_clocks[] array and propagate the changes throughout the code.
This reduces the lines of code in this file and improves
readability.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/timer.c