Messages in this thread | ![/](/images/icornerl.gif) | | From | "Rafael J. Wysocki" <> | Date | Fri, 20 Jan 2023 19:05:25 +0100 | Subject | [GIT PULL] Thermal control fixes for v6.2-rc5 |
| |
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ thermal-6.2-rc5
with top-most commit 6c54b7bc8a31ce0f7cc7f8deef05067df414f1d8
thermal: core: call put_device() only after device_register() fails
on top of commit 5dc4c995db9eb45f6373a956eb1f69460e69e6d4
Linux 6.2-rc4
to receive a thermal control fix for 6.2-rc5.
Modify __thermal_cooling_device_register() to make it call put_device() after invoking device_register() and fix up a few error paths calling thermal_cooling_device_destroy_sysfs() unnecessarily (Viresh Kumar).
Thanks!
---------------
Viresh Kumar (1): thermal: core: call put_device() only after device_register() fails
---------------
drivers/thermal/thermal_core.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
| ![\](/images/icornerr.gif) |