prima 3.2.3.143 caf
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>