ARM: OMAP: Don't store timers physical address
authorJon Hunter <jon-hunter@ti.com>
Fri, 28 Sep 2012 23:03:29 +0000 (18:03 -0500)
committerJon Hunter <jon-hunter@ti.com>
Fri, 16 Nov 2012 16:35:06 +0000 (10:35 -0600)
commit61b001c564b75bfb47bfb84b33008fc2a35c9a84
tree69f0d9622354a8c4cfba16f20afa5ae3cd360783
parentb0cadb3c86fc99553b1f5c38c7770be1ad52aa26
ARM: OMAP: Don't store timers physical address

The OMAP2+ system timer code stores the physical address of the timer
but never uses it. Remove this and clean-up the code by removing the
local variable "size" and changing the names of the local variables
mem_rsrc and irq_rsrc to mem and irq, respectively.

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