ARM: tegra: cpufreq: move clk_get/put out of function tegra_cpu_init/exit
authorRichard Zhao <linuxzsc@gmail.com>
Fri, 21 Dec 2012 00:09:55 +0000 (00:09 +0000)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 17:21:37 +0000 (10:21 -0700)
commitc26cefd08990e3a393cc1592efc3f097f608015f
tree3166b5d841c28257287f6e54fa42e34760c05269
parent45c9e5929624e3a169e3d4c0e6568a4e570272a2
ARM: tegra: cpufreq: move clk_get/put out of function tegra_cpu_init/exit

tegra_cpu_init/exit will be called every time one cpu core is online or
offline. And all cpu cores share same clocks, redundant clk_get/put
wast time,  so I move them out.

Signed-off-by: Richard Zhao <linuxzsc@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/cpu-tegra.c