scripts: remove localversion "+" from kernel version strings
msm_sleeper: get rid of __cpuinit
thermal: Don't limit CPU frequency after msm_thermal is disabled

There may be an outstanding task to check for threshold crossing
when msm_thermal is disabled and CPU is restored to maximum
frequency. This task can get scheduled after the maximum frequency
is restored, and result in another mitigation that pins CPU
frequencies to 918mHz. This happens in the case that the final
temperature was still above the max temperature threshold.
This patch ensures any outstanding tasks are cancelled and flushed
before finally restoring the CPU frequencies.

CRs-fixed: 351614
Change-Id: Ifce00b379989b78856803ac09c7403207f5c998b
Signed-off-by: Eugene Seah <eseah@codeaurora.org>
drivers/thermal: Add 3-phase in kernel thermal management

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	drivers/thermal/msm_thermal.c
msm8960_tsens: enable all thermal devices

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
board-ville: fix small typo in thermal limit definitions

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_thermal: export if we are currently throttled

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_thermal: fix spacing throughout the whole file

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_thermal: add stats for throttling

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Revert "msm_thermal: remove platform driver"

This reverts commit 705f7b32f714a4a7dab6aacae43a72e3400136c1.
thermal: Fix critical enable/disable bug from STOCK source
This fixes a critical bug which only allowed to disable the thermal guard
but not to re-enable it again. Once disabled the thermal guard would stay
off until rebooted. This allows to re-enable it again. (sysfs)

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Lower thermald throttling values to throttle before phone gets too hot
Ported Notification LED duration mod by @yank555-lu

Added entry in menuconfig to optionally add the mod to the kernel compile.

Use sysfs interface to change behaviour :

 * /sys/kernel/notification_leds/off_timer_multiplier (rw)
 *
 *   0 - Notification LED will blink forever until cleared by user
 *   1 - Notification LED will blink as requested by app or until cleared by user (default)
 *   2 to 255 - Notification LED will blink as requested by app multiplied by value or until cleared by user

NB: The output of the sysfs file (e.g. if you 'cat' it) will be clear text.

Conflicts:
	arch/arm/configs/ville_defconfig
	drivers/leds/Kconfig
	drivers/leds/Makefile
	drivers/leds/leds-pm8921.c