lkml.org 
[lkml]   [2023]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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(-)

\
 
 \ /
  Last update: 2023-03-26 23:49    [W:0.041 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site