summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-12 21:41:06 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-09-26 18:57:28 +0300
commit30f04c7535e464f1824edb02e736a50be018777b (patch)
tree7a452c2e446a1e252c2a654c71af7385e9ee0aaa /scripts/lib
parent06a5f76ee104c17022425ade32b970c1d7793e01 (diff)
downloadlinux-30f04c7535e464f1824edb02e736a50be018777b.tar.xz
ACPI: thermal: Simplify critical and hot trips representation
Notice that the only piece of information regarding the critical and hot trips that needs to be stored in the driver's local data structures is whether or not these trips are valid, so drop all of the redundant information from there and adjust the code accordingly. Among other things, this requires acpi_thermal_add() to be rearranged so as to obtain the critical trip temperature before populating the trip points table and for symmetry, the hot trip temperature is obtained earlier too. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions