]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c95acd734a31aec47dbebd5e0c27f5dcd839c26
treea419230baad3776586482b070f4723ddec38a305
parent4bd8c09872e7c053d1432cbc104956efcdd1f8ca
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