Commit dc18175
committed
Merge tag 'thermal-6.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fix from Rafael Wysocki:
"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)"
* tag 'thermal-6.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
thermal: core: call put_device() only after device_register() fails1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
913 | | - | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
914 | 916 | | |
915 | 917 | | |
| 918 | + | |
916 | 919 | | |
917 | 920 | | |
| 921 | + | |
918 | 922 | | |
919 | | - | |
| 923 | + | |
920 | 924 | | |
| 925 | + | |
921 | 926 | | |
922 | 927 | | |
923 | 928 | | |
| |||
943 | 948 | | |
944 | 949 | | |
945 | 950 | | |
| 951 | + | |
| 952 | + | |
946 | 953 | | |
947 | 954 | | |
948 | 955 | | |
| |||
0 commit comments