cpufreq: OMAP: move clk name decision to init
authorNishanth Menon <nm@ti.com>
Wed, 25 May 2011 23:38:46 +0000 (16:38 -0700)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 15:09:45 +0000 (17:09 +0200)
commit5514fa682066f55fe8fe552e032f131f4a078c32
tree0388f8493ca886a7a3588f3a13f889fcf9508d2e
parent933a597a14586ec045b6cd02ff8411762781f4db
cpufreq: OMAP: move clk name decision to init

Clk name does'nt need to dynamically detected during clk init.
move them off to driver initialization, if we dont have a clk name,
there is no point in registering the driver anyways. The actual clk
get and put is left at cpu_init and exit functions.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/cpufreq/omap-cpufreq.c