]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc71b22424b29a7e517c132d61dd3b7b9e6471aa
tree470834bd33d67105473dad61245a921a4dd97c6e
parentf08a50af9d690884eb65f0df4803f362382ede87
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