ARM: OMAP2+: Store ID of system timers in timer structure
authorJon Hunter <jon-hunter@ti.com>
Fri, 1 Feb 2013 22:40:09 +0000 (16:40 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 18:49:37 +0000 (13:49 -0500)
commit8f6924dcab3a40c5972f960cd45ffccc4021db0b
tree470834bd33d67105473dad61245a921a4dd97c6e
parent2eb03937df3ebc822dab413bd69533dcd66afd48
ARM: OMAP2+: Store ID of system timers in timer structure

Currently, the timer ID is being passed to the function
omap_dm_timer_init_one(). Instead of passing the ID separately, store it
in the omap_dm_timer structure, that is also passed, and access the ID
from this structure.

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