]> 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)
commit966c706412d4281dc836a5c49bfea839870c5b48
tree5466afe1471d2c3c2325acb8dbf506ca215230f2
parentbdd1bace80d6454f88b1827608ff41ac3460caa0
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