ACPI: thermal: Collapse trip devices update functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Sep 2023 17:49:24 +0000 (19:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Sep 2023 10:54:16 +0000 (12:54 +0200)
commit317508c65f1f966367553ef84f5d8eba16720f32
treee3c16dfd7c9db90dd5ec72bcf3324cb29d1fad40
parent0fa1bf34980eba19a5f07f97297bbd60b796e6d1
ACPI: thermal: Collapse trip devices update functions

In order to reduce code duplication, merge update_passive_devices() and
update_active_devices() into one function called 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