leds: Add LED trigger for thermal sensor
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>
leds: ledtrig-thermal: Remove debug info

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Remove flush_scheduled_work()

Instead use cancel_delayed_work_sync to prevent race conditions.

Fixes issue that suspend procedure was blocked during boot when
thermal trigger was set at the same time.

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