diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-06-27 06:09:00 +0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-09-24 10:44:37 +0400 |
commit | 2d374139d5b0b596cfbd892bf3ec7dacb3049904 (patch) | |
tree | f1decd1db27b83d0041ad9667813e4c15fef39c1 /include/linux/thermal.h | |
parent | b81b6ba3d9ac5feb14388bb73ac5a39d9a7540dc (diff) | |
download | linux-2d374139d5b0b596cfbd892bf3ec7dacb3049904.tar.xz |
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/linux/thermal.h')
-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; }; |