[PATCH v2 0/4] Thermal cpufreq & devfreq cooling minor clean-ups

From: Lukasz Luba
Date: Mon Jun 13 2022 - 13:25:23 EST


Hi all,

This is v2 of some minor clean-ups for the thermal cpufreq and devfreq
cooling code.

Changes:
v2:
- extened the cpufreq_cooling_device with private ops field, to not waste
memory and simplify allocation/free code (Viresh)
- added devfreq_cooling clean-up to align with cpufreq cooling code
- added ACKs from Viresh for patch 2/4 and path 3/4
- added missing maintainers of tracing to CC list

Regards,
Lukasz

Lukasz Luba (4):
thermal: cpufreq_cooling: Use private callback ops for each cooling
device
thermal: cpufreq_cooling : Refactor thermal_power_cpu_get_power
tracing
thermal: cpufreq_cooling: Update outdated comments
thermal: devfreq_cooling: Extend the devfreq_cooling_device with ops

drivers/thermal/cpufreq_cooling.c | 77 ++++++++++---------------------
drivers/thermal/devfreq_cooling.c | 27 ++++-------
include/trace/events/thermal.h | 28 ++++-------
3 files changed, 42 insertions(+), 90 deletions(-)

--
2.17.1