diff mbox series

ACPI: thermal: Fix incorrect comment about trip points

Message ID 20250208013335.126343-1-luoxueqin@kylinos.cn (mailing list archive)
State Queued
Delegated to: Rafael Wysocki
Headers show
Series ACPI: thermal: Fix incorrect comment about trip points | expand

Commit Message

xueqin Luo Feb. 8, 2025, 1:33 a.m. UTC
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@kylinos.cn>
---
 drivers/acpi/thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rafael J. Wysocki Feb. 18, 2025, 5:46 p.m. UTC | #1
On Sat, Feb 8, 2025 at 2:33 AM xueqin Luo <luoxueqin@kylinos.cn> 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@kylinos.cn>
> ---
>  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!
diff mbox series

Patch

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);