Message ID | 4846448.GXAFRqVoOG@kreacher |
---|---|
Headers | show |
Series | thermal: Improve iteration over trip points | expand |
On 03/10/2023 15:21, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > 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>
On Wed, Oct 4, 2023 at 6:30 PM Daniel Lezcano <daniel.lezcano@linaro.org> wrote: > > On 03/10/2023 15:21, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > > > 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> Thanks for all of the reviews, much appreciated! I'm going to apply the series now unless you have strong objections against any of the remaining patches [4,6/6]. Cheers!
On 03/10/2023 15:26, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > Modify int340x_thermal_update_trips() to use thermal_zone_for_each_trip() > for walking trips instead of using the trips[] table passed to the > thermal zone registration function. > > For this purpose, store active trip point indices in the priv fieids of > the corresponding thermal_trip structures. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > --- > > v1 -> v2: Mo changes > > --- Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>