# \[PATCH 0/2\] thermal: Replace thermal\_notify\_framework with thermal\_zone\_device\_update

- From: Thara Gopinath \<hidden\>
- Date: 2021-01-19 23:39:57 
- List: linux-pm
- Page: https://ratatoskr.run/linux-pm/2021/01/6240452
- Thread: https://ratatoskr.run/linux-wireless/2021/01/6240452/t.md

```text
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, running through the list of trip points
and setting the next trip point etc. Since  the later is a more thorough
version of former, replace thermal_notify_framework with
thermal_zone_device_update. 

Thara Gopinath (2):
  net: wireless: intel: iwlwifi: mvm: tt: Replace
    thermal_notify_framework
  drivers: thermal: Remove thermal_notify_framework

 drivers/net/wireless/intel/iwlwifi/mvm/tt.c |  4 ++--
 drivers/thermal/thermal_core.c              | 18 ------------------
 include/linux/thermal.h                     |  4 ----
 3 files changed, 2 insertions(+), 24 deletions(-)

-- 
2.25.1

```
