cpufreq: OMAP: move clk name decision to init
authorNishanth Menon <nm@ti.com>
Wed, 7 Dec 2011 20:08:40 +0000 (12:08 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Dec 2011 20:08:40 +0000 (12:08 -0800)
commit8f90f71283085c75b02c1ffdc72f7316aef01763
treea097ca002d04a26227e61aa453cb491e9d5d37b5
parent7768c2d7b024a794a028510f388f6a500b618ea3
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