diff options
| author | Rafael J. Wysocki <[email protected]> | 2023-08-17 09:25:29 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-08-17 09:25:29 +0000 |
| commit | 4ab4b3b11dca4cda61b38147f4dd81b1b7b39e95 (patch) | |
| tree | 9299efb7f8c30dc7394895cf8e7c2eb676567e9a /rust/helpers.c | |
| parent | ACPI: thermal: Drop unnecessary thermal zone callbacks (diff) | |
| download | kernel-4ab4b3b11dca4cda61b38147f4dd81b1b7b39e95.tar.gz kernel-4ab4b3b11dca4cda61b38147f4dd81b1b7b39e95.zip | |
ACPI: thermal: Eliminate code duplication from acpi_thermal_notify()
Move the acpi_bus_generate_netlink_event() invocation into
acpi_thermal_trips_update() which allows the code duplication in
acpi_thermal_notify() to be cleaned up, but for this purpose the
event value needs to be passed to acpi_thermal_trips_update() and
from there to acpi_thermal_adjust_thermal_zone() which has to
determine the flag value for __acpi_thermal_trips_update() by
itself.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
