leds: Do not remove trigger when brightness = LED_OFF

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: Add LED trigger for thermal sensor

Add a thermal trigger named 'thermal' which activated by thermal
sensor.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:

	arch/arm/configs/semaphore_mako_defconfig
mach-msm: mako: Use default triggers for RGB LED

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: Switch off LED when thermal trigger deactivated

Also initialize properly driver.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Increase lower thershold

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Use LED_OFF, LED_FULL macros for min, max brightness

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Use macros for high, low thresholds

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Check every 5s for temp when LED is off

When the LED is off check every 5s.
As soon as the LED switch on check every 2s.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: remove debug

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Do not update brightness if there is no change

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Change the order of brightness calculation

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Rework code

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
mach-msm: mako: change green and blue leds to none