3
0
Fork 0
forked from mirrors/linux

ACPI: thermal: Fix stale comment regarding trip points

Update the comment next to acpi_thermal_get_trip_points() call site
in acpi_thermal_add() to reflect what the code does.

It has diverged from the code after changes that removed the _CRT
evaluation from acpi_thermal_get_trip_points() among other things.

Signed-off-by: xueqin Luo <luoxueqin@kylinos.cn>
Link: https://patch.msgid.link/20250208013335.126343-1-luoxueqin@kylinos.cn
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
xueqin Luo 2025-02-08 09:33:35 +08:00 committed by Rafael J. Wysocki
parent 0ad2507d5d
commit 01ca284633

View file

@ -803,7 +803,7 @@ static int acpi_thermal_add(struct acpi_device *device)
acpi_thermal_aml_dependency_fix(tz);
/* Get trip points [_CRT, _PSV, etc.] (required). */
/* Get trip points [_ACi, _PSV, etc.] (required). */
acpi_thermal_get_trip_points(tz);
crit_temp = acpi_thermal_get_critical_trip(tz);