Re: [PATCH 6/6] ARM: OMAP2+: hwmod: use init-time function pointer for _init_clkdm

2012-04-30 Thread Paul Walmsley
6/6] 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 [p...@pwsan.com: convert to use soc_ops function pointers; remove second para f

[PATCH 6/6] ARM: OMAP2+: hwmod: use init-time function pointer for _init_clkdm

2012-04-27 Thread Kevin Hilman
Rather than use runtime cpu_is* checking inside _init_clkdm, initialize SoC specific function pointer at init time. Note that initializing the function pointer oh->init_clkdm pointer must be done before _init_clocks() is called because it is used there. Signed-off-by: Kevin Hilman --- arch/arm/