diff options
| author | Zhang Rui <[email protected]> | 2012-06-27 10:09:00 +0800 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2012-09-24 14:44:37 +0800 |
| commit | 2d374139d5b0b596cfbd892bf3ec7dacb3049904 (patch) | |
| tree | f1decd1db27b83d0041ad9667813e4c15fef39c1 /include/linux | |
| 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 <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'include/linux')
| -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; }; |