ledtrig: use defines for thresholds and other const values. Remove any pre-defined usage of the LED interface, let users choose using sysfs.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
ledtrig/msm_thermal: add get_threshold() for the ledtrig-thermal to determine whats the lowest value to check the temp from. Also fetch temp from the correct sensor.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Update Config
Revert "ledtrig/msm_thermal: add get_threshold() for the ledtrig-thermal to determine whats the lowest value to check the temp from. Also fetch temp from the correct sensor."

This reverts commit 2dedc1d2fb7cfd3f27ed18c8591a4ece1e80465a.
Revert "ledtrig: use defines for thresholds and other const values. Remove any pre-defined usage of the LED interface, let users choose using sysfs."

This reverts commit 30ce639bde4146aa1aecde717e8681bdbbcdff89.
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>