thermal: gov_power_allocator: Rearrange initialization of local variables
authorLukasz Luba <lukasz.luba@arm.com>
Wed, 25 Oct 2023 19:22:25 +0000 (20:22 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Nov 2023 15:02:14 +0000 (16:02 +0100)
commit401888e7206778db54b79e6b3c25a2f1461413e6
treeff596cd7c06a0896029e45f0e76f7eb204c972bb
parent0458d536ae97c5107b81810778d050da04d83fa2
thermal: gov_power_allocator: Rearrange initialization of local variables

Rearrange the initialization of local variables in allocate_power() so
as to improve code clarity and the visibility of the initial values.

This change is not expected to alter the general functionality.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/gov_power_allocator.c