diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-17 11:25:29 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-08-17 11:25:29 +0200 |
commit | 4ab4b3b11dca4cda61b38147f4dd81b1b7b39e95 (patch) | |
tree | 9299efb7f8c30dc7394895cf8e7c2eb676567e9a /include/xen/pci.h | |
parent | ACPI: thermal: Drop unnecessary thermal zone callbacks (diff) | |
download | linux-4ab4b3b11dca4cda61b38147f4dd81b1b7b39e95.tar.xz linux-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 <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/xen/pci.h')
0 files changed, 0 insertions, 0 deletions