aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-09-12 20:41:06 +0200
committerRafael J. Wysocki <[email protected]>2023-09-26 17:57:28 +0200
commit30f04c7535e464f1824edb02e736a50be018777b (patch)
tree7a452c2e446a1e252c2a654c71af7385e9ee0aaa /scripts/generate_rust_analyzer.py
parent06a5f76ee104c17022425ade32b970c1d7793e01 (diff)
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 <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions