mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
thermal: update the documentation
Update the documentation for the thermal driver hwmon sys I/F. Change the ACPI thermal zone type to be consistent with hwmon. Signed-off-by: Zhang Rui <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
e68b16abd9
commit
e9ae71078b
2 changed files with 28 additions and 7 deletions
|
|
@ -1136,7 +1136,7 @@ static int acpi_thermal_register_thermal_zone(struct acpi_thermal *tz)
|
|||
|
||||
for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE &&
|
||||
tz->trips.active[i].flags.valid; i++, trips++);
|
||||
tz->thermal_zone = thermal_zone_device_register("ACPI thermal zone",
|
||||
tz->thermal_zone = thermal_zone_device_register("acpitz",
|
||||
trips, tz, &acpi_thermal_zone_ops);
|
||||
if (IS_ERR(tz->thermal_zone))
|
||||
return -ENODEV;
|
||||
|
|
|
|||
Loading…
Reference in a new issue