ACPI: thermal: Create and populate trip points table earlier
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Sep 2023 18:39:15 +0000 (20:39 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 26 Sep 2023 15:57:10 +0000 (17:57 +0200)
commit06a5f76ee104c17022425ade32b970c1d7793e01
tree6f0d4febccaf3c6be37b7c0d09b718c3a2fcac21
parentf04256a8f7de2c13619b636cec1109e596804229
ACPI: thermal: Create and populate trip points table earlier

Create and populate the driver's trip points table in acpi_thermal_add()
so as to allow the its data structures to be simplified going forward.

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