diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-06-27 04:09:00 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-09-24 08:44:37 +0200 |
commit | 2d374139d5b0b596cfbd892bf3ec7dacb3049904 (patch) | |
tree | f1decd1db27b83d0041ad9667813e4c15fef39c1 /include | |
parent | Thermal: rename structure thermal_cooling_device_instance to thermal_instance (diff) | |
download | linux-2d374139d5b0b596cfbd892bf3ec7dacb3049904.tar.xz linux-2d374139d5b0b596cfbd892bf3ec7dacb3049904.zip |
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 { bool passive; unsigned int forced_passive; const struct thermal_zone_device_ops *ops; - struct list_head cooling_devices; + struct list_head thermal_instances; struct idr idr; - struct mutex lock; /* protect cooling devices list */ + struct mutex lock; /* protect thermal_instances list */ struct list_head node; struct delayed_work poll_queue; }; |