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)
commit66a0b101efca70097a14aece9c76bc24cd0da119
tree5466afe1471d2c3c2325acb8dbf506ca215230f2
parentafbeb99e2e33df7cb0833f94128320989c58d6d2
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