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

Rearrange the order of local variable definitions in multiple functions
so as to follow the kernel coding style in that respect.

Also, move local variable definitions located in nested code blocks to
the beginning of each function to improve the visibility of all local
variables in use.

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