ARM: OMAP2+: Simplify system timers definitions
authorJon Hunter <jon-hunter@ti.com>
Sat, 12 Jan 2013 02:23:09 +0000 (20:23 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 18:49:19 +0000 (13:49 -0500)
commit00ea4d5618e86b926163c7d080763c6560be9fe3
tree9249206fc0286f7f945c51e80d3dd87e8505ff51
parent7bdc83f74f9636fb40a472e1e02fcaf2cc643115
ARM: OMAP2+: Simplify system timers definitions

There is a lot of redundancy in the definitions for the various system
timers for OMAP2+ devices. For example, the omap3_am33xx_gptimer_timer_init()
function is the same as the omap3_gp_gptimer_timer_init() function and the
function omap4_sync32k_timer_init() can be re-used for OMAP5 devices.
Therefore, consolidate the definitions to simplify the code.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
arch/arm/mach-omap2/board-cm-t3517.c
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/timer.c