[PATCH 0/7] Minor cleanup for thermal gov power allocator

From: Lukasz Luba
Date: Wed Oct 25 2023 - 15:21:54 EST


Hi all,

The patch set does some small clean up for Intelligent Power Allocator.
Those changes are not expected to alter the general functionality. They just
improve the code reading. Only patch 3/7 might improve the use case for
binding the governor to thermal zone (very unlikely in real products, but
it's needed for correctness).

The changes are based on top of current PM thermal branch, so with the
new trip points.

Regards,
Lukasz

Lukasz Luba (7):
thermal: gov_power_allocator: Rename trip_max_desired_temperature
thermal: gov_power_allocator: Setup trip points earlier
thermal: gov_power_allocator: Check the cooling devices only for
trip_max
thermal: gov_power_allocator: Rearrange the order of variables
thermal: gov_power_allocator: Use shorter variable when possible
thermal: gov_power_allocator: Remove unneeded local variables
thermal: gov_power_allocator: Clean needed variables at the beginning

drivers/thermal/gov_power_allocator.c | 123 ++++++++++++++------------
1 file changed, 64 insertions(+), 59 deletions(-)

--
2.25.1