ACPI: thermal: Add device list to struct acpi_thermal_trip
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Sep 2023 17:48:33 +0000 (19:48 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Sep 2023 10:54:16 +0000 (12:54 +0200)
commit0fa1bf34980eba19a5f07f97297bbd60b796e6d1
treeb94688729f982ee485bd5259cbbe18e567e12711
parent0d9741abd1c583e7bedb178358a9abd0981f49ba
ACPI: thermal: Add device list to struct acpi_thermal_trip

The device lists present in struct acpi_thermal_passive and struct
acpi_thermal_active can be located in struct acpi_thermal_trip which
then will allow the same code to be used for handling both the passive
and active trip points, so make that change.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/acpi/thermal.c