[GIT PULL] Thermal control fixes for v6.5-rc4

From: Rafael J. Wysocki
Date: Fri Jul 28 2023 - 16:10:12 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.5-rc4

with top-most commit ac4436a5b20e0ef1f608a9ef46c08d5d142f8da6

thermal: of: fix double-free on unregistration

on top of commit 6eaae198076080886b9e7d57f4ae06fa782f90ef

Linux 6.5-rc3

to receive thermal control fixes for 6.5-rc4.

These constify thermal_zone_device_register() parameters, which was
omitted by mistake, and fix a double free on thermal zone unregistration
in the generic DT thermal driver (Ahmad Fatoum).

Thanks!


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

Ahmad Fatoum (2):
thermal: core: constify params in thermal_zone_device_register
thermal: of: fix double-free on unregistration

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

drivers/thermal/thermal_core.c | 4 ++--
drivers/thermal/thermal_of.c | 27 ++++++---------------------
include/linux/thermal.h | 6 +++---
3 files changed, 11 insertions(+), 26 deletions(-)