ACPI: thermal: Fix stale comment regarding trip points
authorxueqin Luo <luoxueqin@kylinos.cn>
Sat, 8 Feb 2025 01:33:35 +0000 (09:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Feb 2025 17:43:18 +0000 (18:43 +0100)
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>
drivers/acpi/thermal.c

index 95982c098d5bd59f2830ef3e545c7d9ed02268f4..0c874186f8aed449c2045e5f85e4a021925f3e40 100644 (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);