]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/u8500: Remove the get_trend function
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 16 Jun 2022 20:25:37 +0000 (22:25 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 28 Jul 2022 15:29:46 +0000 (17:29 +0200)
commit551ee30f66f0105f8da74eefe0962af1fee13430
tree5466afe1471d2c3c2325acb8dbf506ca215230f2
parent4b891fb16a97e5385fc05285c762e360042e67c9
thermal/drivers/u8500: Remove the get_trend function

The get_trend function relies on the interrupt to set the raising or
dropping trend. However the interpolated temperature is already giving
the temperature information to the thermal framework which is able to
deduce the trend.

Remove the trend code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220616202537.303655-3-daniel.lezcano@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/db8500_thermal.c