thermal/core: Remove thermal_notify_framework
authorThara Gopinath <thara.gopinath@linaro.org>
Fri, 22 Jan 2021 02:34:05 +0000 (21:34 -0500)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 22 Apr 2021 11:14:09 +0000 (13:14 +0200)
commitd60d6e7adfc3814f6de03c978ff1daab21478f87
tree6a11b5580c04cba96359292eedabe46cbe2385cf
parent93effd83b6927c0252bb1e35aa3e116d3e2527bb
thermal/core: Remove thermal_notify_framework

thermal_notify_framework just updates for a single trip point where as
thermal_zone_device_update does other bookkeeping like updating the
temperature of the thermal zone and setting the next trip point. The only
driver that was using thermal_notify_framework was updated in the previous
patch to use thermal_zone_device_update instead. Since there are no users
for thermal_notify_framework remove it.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210122023406.3500424-3-thara.gopinath@linaro.org
drivers/thermal/thermal_core.c
include/linux/thermal.h