diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-06-26 22:09:00 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-09-24 02:44:37 -0400 |
commit | 2d374139d5b0b596cfbd892bf3ec7dacb3049904 (patch) | |
tree | f1decd1db27b83d0041ad9667813e4c15fef39c1 /include | |
parent | b81b6ba3d9ac5feb14388bb73ac5a39d9a7540dc (diff) |
Thermal: Rename thermal_zone_device.cooling_devices
Rename thermal_zone_device.cooling_devices
to thermal_zone_device.thermal_instances
thermal_zone_device.cooling_devices is not accurate
as this is a list for thermal instances, rather than cooling devices.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/thermal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 38267a595d69..cb0b0e3ffd97 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h | |||
@@ -122,9 +122,9 @@ struct thermal_zone_device { | |||
122 | bool passive; | 122 | bool passive; |
123 | unsigned int forced_passive; | 123 | unsigned int forced_passive; |
124 | const struct thermal_zone_device_ops *ops; | 124 | const struct thermal_zone_device_ops *ops; |
125 | struct list_head cooling_devices; | 125 | struct list_head thermal_instances; |
126 | struct idr idr; | 126 | struct idr idr; |
127 | struct mutex lock; /* protect cooling devices list */ | 127 | struct mutex lock; /* protect thermal_instances list */ |
128 | struct list_head node; | 128 | struct list_head node; |
129 | struct delayed_work poll_queue; | 129 | struct delayed_work poll_queue; |
130 | }; | 130 | }; |