ACPI: thermal: Introduce struct acpi_thermal_trip
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Aug 2023 18:10:06 +0000 (20:10 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Aug 2023 09:25:22 +0000 (11:25 +0200)
commit68b77785a1db293582558bc1460b19e8355b8f7a
tree6ee45c8d0bd2f114ce67ec3a5f0f98b7c0df2f01
parent68f4f0378c0cee5c6b6308c1fd6eb7677f354cad
ACPI: thermal: Introduce struct acpi_thermal_trip

Add struct acpi_thermal_trip to contain the temperature and valid flag
of each trip point in the driver's local data structures.

This helps to make the subsequent changes more straightforward.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c