ARM: OMAP2+: hwmod: use init-time function pointer for _init_clkdm
authorKevin Hilman <khilman@ti.com>
Mon, 18 Jun 2012 18:12:25 +0000 (12:12 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 18 Jun 2012 18:12:25 +0000 (12:12 -0600)
commit0a179eaa436e58ed9fd00e09cdf01f1b3604d9a1
tree57ab10e8a6928a2d8189351931c329df663f8cb2
parentb8249cf2d2b16de9582d3cbaa98c16c32c624d8a
ARM: OMAP2+: hwmod: use init-time function pointer for _init_clkdm

Rather than use runtime cpu_is* checking inside _init_clkdm, initialize
SoC specific function pointer at init time.

Signed-off-by: Kevin Hilman <khilman@ti.com>
[paul@pwsan.com: convert to use soc_ops function pointers; remove second para
 from commit message since soc_ops function pointers are now set during hwmod
 layer init]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c