diff options
author | Rafael J. Wysocki <[email protected]> | 2023-09-21 20:02:59 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-09-28 19:27:19 +0200 |
commit | d5ea889246b112e228433a5f27f57af90ca0c1fb (patch) | |
tree | ddab91cecc9b12a1113760482f94cc1275c2fade /scripts/generate_rust_analyzer.py | |
parent | 377020153617db399334531114fe86a3552e801d (diff) |
ACPI: thermal: Do not use trip indices for cooling device binding
Rearrange the ACPI thermal driver's callback functions used for cooling
device binding and unbinding, acpi_thermal_bind_cooling_device() and
acpi_thermal_unbind_cooling_device(), respectively, so that they use trip
pointers instead of trip indices which is more straightforward and allows
the driver to become independent of the ordering of trips in the thermal
zone structure.
The general functionality is not expected to be changed.
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