Optimize

Signed-off-by: CallMeAldy <aldrin.holmes20@gmail.com>
Revert "msm: thermal: make thermal harmonious"

This reverts commit 330372b1cabc189b6595537c2c078edeb9d538b6.
Revert "msm: thermal: reduced tamp max to 75c and tuning board"

This reverts commit 1e3af78c2d7fbb7e0ed684e81583770430dbbf71.
Revert "msm: thermal: cleaned unused code"

This reverts commit 410545f32d3f25bb17c60ca0882f9d0dccaf9284.
Revert "Revert "msm thermal: enhancements""

This reverts commit 5a5f1eae086ca569b8df2d578f46eec015783e0a.

Conflicts:
	drivers/thermal/msm_thermal.c
Revert "Revert "driver: thermal: +10 over default settings""

This reverts commit 5dc315f1eaeed686bab1bbbac9a5298a50b323e8.
Revert "driver: thermal: +10 over default settings"

This reverts commit f7b43021d6413d2cf229b064ba6fab8738671faa.
Revert "thermal: pm8xxx-tm: Configure temperature alarm for always-on operation"

This reverts commit 2a42c342037c4c7f4595e0d00c751190f26cf93a.
Revert "thermal: tsens8974: Fix delay in the TSENS handler"

This reverts commit 230faef05d8e37f75341fed3bf418da3195e0337.
Revert "msm8960_tsens: enable all thermal devices"

This reverts commit 316219ab4c2ab2696cd65301640af7d8df001288.
Revert "msm thermal: enhancements"

This reverts commit c0b191736adef30b83e1e504a5b8ec25854d36e5.

Conflicts:
	drivers/thermal/msm_thermal.c
intelli/msm_thermal: initial coding for Qualcomm S4 Pro devices

an intelligent MSM thermal throttling kernel driver designed to replace the
closed sourced thermald(aemon) from Qualcomm.

The current driver can throttle the SOC via core frequency scaling or via
core hotplug with user configurable sysfs entries to adjust the throttling
temperature thresholds for each.

Derived from Qualcomm's Open source repo.

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

Conflicts:
	arch/arm/mach-msm/lge/mako/board-mako.c
intelli-thermal: fix stats calculations

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli-thermal: use its own dedicated workqueue

this should reduce the load on the shared global workqueue for other
processes and also give its own unique variable name for cpu limit

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli-thermal: increase sampling time to reduce sampling overhead

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

Conflicts:
	drivers/thermal/intelli/msm_thermal.c
drivers/thermal/Kconfig: fix default prompt error

Signed-off-by: Paul Reioux <reioux@gmail.com>
defconfig : Enable Intelli-Thermal

Signed-off-by: CallMeAldy <aldrin.holmes20@gmail.com>