[GIT PULL] Thermal control fixes for 7.2-rc7

From: Rafael J. Wysocki (Intel)

Date: Fri Aug 07 2026 - 08:19:31 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-7.2-rc7

with top-most commit ff8da20b6f47c48d46e47f93f7a59e2d56ee9107

Revert "thermal/drivers/hwmon: Cleanup coding style a bit"

on top of commit f5098b6bae761e346ebcd9da7f95622c04733cff

Linux 7.2-rc5

to receive thermal control fixes for 7.2-rc7.

These revert three thermal core updates, two recent ones and one older.

The recent ones attempted to fix a design issue in the thermal core and
simplify code on top of that, but they made changes visible to user space
and made it unhappy.

The older one is a misguided code cleanup that introduced a (potentially
nasty) bug.

Thanks!


---------------

Rafael J. Wysocki (3):
Revert "thermal: hwmon: Use extra_groups for adding temperature
attributes"
Revert "thermal: hwmon: Register a hwmon device for each thermal zone"
Revert "thermal/drivers/hwmon: Cleanup coding style a bit"

---------------

drivers/hwmon/hwmon.c | 6 +-
drivers/thermal/thermal_hwmon.c | 224 ++++++++++++++++++++++++++++------------
include/linux/hwmon.h | 3 +-
3 files changed, 160 insertions(+), 73 deletions(-)