drivers: cpufreq: Import intellidemand/active

Conflicts:
	include/linux/cpufreq.h
intellidemand: minor clean up and tailor for APQ8064 devices

Signed-off-by: Paul Reioux <reioux@gmail.com>
Update
cpufreq: Cleanup intellidemand

* Clean the SMART UP its was not allowing max freq and was laggy.
* Revert DEF_SAMPLING_DOWN_FACTOR = 4 as it's make max freq always on core 0.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: intellidemand: Dust off long-disabled governor

* Remove input-boost since it conflicts with cpu-boost.
* Reformat entire code.
* Add policy checks to prevent null dereference.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: intellidemand: Fixes and more cleanup

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: intellidemand: major cleanup after code review

* Cleaned cpu sync it's moved to cpu-boost code long tme ago.
* Cleaned white space and fix logic.
* Restored dbs call check.
* Cleaned all that connects to input event! gov no longer control that!
  all input events are in cpu-boot code.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: intellidemand: Cleanup unused sync waitqueue

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: ondemand: Remove synchronization thread

* This is done by cpu-boost. If we keep syncing
  frequencies here, both will ultimately crash
  system.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
add newer intellidemand with tweaks

Conflicts:
	arch/arm/configs/gee_defconfig
intelliactive: tune for APQ8064 devices

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliactive: rework input register/unregister

Signed-off-by: Paul Reioux <reioux@gmail.com>
fix cpufreqs

Conflicts:
	drivers/cpufreq/cpufreq_intellidemand.c
	drivers/cpufreq/cpufreq_wheatley.c
cpufreq: Get rid of common function
cleanup & tweak cpufreqs

Conflicts:
	drivers/cpufreq/cpufreq_HYPER.c
	drivers/cpufreq/cpufreq_pegasusq.c
tweak cpu_freqs a bit for battery

Conflicts:
	drivers/cpufreq/cpufreq_HYPER.c
	drivers/cpufreq/cpufreq_nightmare.c
Replaced queue_delayed_work_on with mod_delayed_work_on for
- conservative, intellidemand, ondemand cpu governors
- msm_hotplug hotplug govenor

Conflicts:
	arch/arm/mach-msm/msm_hotplug.c
	drivers/cpufreq/cpufreq_conservative.c
	drivers/cpufreq/cpufreq_ondemand.c
Update_defconfig
Update cpufreq Thanks to @ion-storm
Fix