ACPI: thermal: Combine passive and active trip update functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Oct 2023 13:21:30 +0000 (15:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Oct 2023 11:20:57 +0000 (13:20 +0200)
commit4f9cf91e4102fe77ef3393febab72612b594172f
treebc97b92222aad84d286d359f800febbf6b8cd942
parent44babd829a7e0c13b57040fc8234f64fabab1efd
ACPI: thermal: Combine passive and active trip update functions

Combine acpi_thermal_update_passive_trip() and
acpi_thermal_update_active_trip() into one common function called
acpi_thermal_update_trip(), so as to reduce code duplication and
prepare the code in question for subsequent changes.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/acpi/thermal.c