ARM: OMAP2+: Simplify system timer clock definitions
authorJon Hunter <jon-hunter@ti.com>
Sat, 12 Jan 2013 01:17:38 +0000 (19:17 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 18:49:09 +0000 (13:49 -0500)
commit7bdc83f74f9636fb40a472e1e02fcaf2cc643115
tree7b539b438104447d508b7b37a075b84bf5070bf9
parenta7990a1952cbaea0971272692f69f62906446fdf
ARM: OMAP2+: Simplify system timer clock definitions

In commit c59b537 (ARM: OMAP2+: Simplify dmtimer clock aliases), new
clock aliases for dmtimers were added to simplify the code. These clock
aliases can also be used when configuring the system timers and allow us
to remove the current definitions, simplifying the code.

Please note that for OMAP4/5 devices (unlike OMAP2/3 devices), there is
no clock alias for "timer_sys_ck" with NULL as the device name. Therefore
we still need to use the alias "sys_clkin_ck" for these devices.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/timer.c