aboutsummaryrefslogtreecommitdiff
path: root/rust/macros/paste.rs
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-17 11:25:29 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-17 11:25:29 +0200
commit4ab4b3b11dca4cda61b38147f4dd81b1b7b39e95 (patch)
tree9299efb7f8c30dc7394895cf8e7c2eb676567e9a /rust/macros/paste.rs
parent2a74c4aca1d70c4ec8104997470fda2fed5de322 (diff)
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 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions