Re: [PATCH] ACPI: thermal: Fix incorrect comment about trip points

From: Rafael J. Wysocki
Date: Tue Feb 18 2025 - 12:46:23 EST


On Sat, Feb 8, 2025 at 2:33 AM xueqin Luo <luoxueqin@xxxxxxxxxx> wrote:
>
> The function `acpi_thermal_get_trip_points()` no longer retrieves
> the "_CRT" resource. Instead, it obtains "_ACi" trip points. Update
> the comment accordingly to reflect the correct behavior.
>
> Signed-off-by: xueqin Luo <luoxueqin@xxxxxxxxxx>
> ---
> drivers/acpi/thermal.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
> index 95982c098d5b..0c874186f8ae 100644
> --- a/drivers/acpi/thermal.c
> +++ b/drivers/acpi/thermal.c
> @@ -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);
> --

Applied as 6.15 material with edits in the subject and changelog, thanks!