Skip to content

Commit 3f2ca7b

Browse files
committed
Merge tag 'thermal-6.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fixes from Rafael Wysocki: "Fix a regression caused by an inadvertent change of the THERMAL_GENL_ATTR_CPU_CAPABILITY value in one of the recent thermal commits (Zhang Rui) and drop a stale piece of documentation (Daniel Lezcano)" * tag 'thermal-6.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: thermal/cpufreq_cooling: Remove structure member documentation thermal/netlink: Prevent userspace segmentation fault by adjusting UAPI header
2 parents f92a80b + a6768c4 commit 3f2ca7b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

drivers/thermal/cpufreq_cooling.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ struct time_in_idle {
5757
* @max_level: maximum cooling level. One less than total number of valid
5858
* cpufreq frequencies.
5959
* @em: Reference on the Energy Model of the device
60-
* @cdev: thermal_cooling_device pointer to keep track of the
61-
* registered cooling device.
6260
* @policy: cpufreq policy.
6361
* @cooling_ops: cpufreq callbacks to thermal cooling device ops
6462
* @idle_time: idle time stats

include/uapi/linux/thermal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ enum thermal_genl_attr {
3030
THERMAL_GENL_ATTR_TZ,
3131
THERMAL_GENL_ATTR_TZ_ID,
3232
THERMAL_GENL_ATTR_TZ_TEMP,
33-
THERMAL_GENL_ATTR_TZ_PREV_TEMP,
3433
THERMAL_GENL_ATTR_TZ_TRIP,
3534
THERMAL_GENL_ATTR_TZ_TRIP_ID,
3635
THERMAL_GENL_ATTR_TZ_TRIP_TYPE,
@@ -54,6 +53,7 @@ enum thermal_genl_attr {
5453
THERMAL_GENL_ATTR_THRESHOLD,
5554
THERMAL_GENL_ATTR_THRESHOLD_TEMP,
5655
THERMAL_GENL_ATTR_THRESHOLD_DIRECTION,
56+
THERMAL_GENL_ATTR_TZ_PREV_TEMP,
5757
__THERMAL_GENL_ATTR_MAX,
5858
};
5959
#define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1)

0 commit comments

Comments
 (0)