ARM: OMAP2+: timer: use a proper interface to get hwmod data
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:01:50 +0000 (04:01 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:03:12 +0000 (04:03 -0600)
commit6c0c27fdb10e15780af800d51711305f65665f25
tree0969fac0aa03d87da08116402e0d1ae548e90139
parent5e8370f1fa01bf232ca4770c6d81bbf42437d2a3
ARM: OMAP2+: timer: use a proper interface to get hwmod data

arch/arm/mach-omap2/timer.c pokes around inside the hwmod data
structures.  Since the hwmod data structures are about to change, this
code will break.  This patch modifies the timer code to use
recently-added hwmod functions instead.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c