drivers: cpufreq: Upstream optimizations

* Clean up and optimize cpufreq driver.
* This is needed for good multi cpu
  policy control via msm limiter.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>

Conflicts:
	drivers/cpufreq/cpufreq.c