ACPI: thermal: Collapse trip devices update function wrappers
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Sep 2023 17:50:08 +0000 (19:50 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Sep 2023 10:54:16 +0000 (12:54 +0200)
commit54fc61a106c9b7fb55a3c6a595349826c0548468
tree68f7d55ab2233a4aa32c8cbfe3962d8c1330d36a
parent317508c65f1f966367553ef84f5d8eba16720f32
ACPI: thermal: Collapse trip devices update function wrappers

In order to reduce code duplicationeve further, merge
acpi_thermal_update_passive/active_devices() into one function
called acpi_thermal_update_trip_devices() that will be used for
updating both the passive and active trip points.

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