Re: [PATCH 2/8] cppc_cpufreq: clean up cpu, cpu_num and cpunum variable use

From: Viresh Kumar
Date: Mon Nov 09 2020 - 02:00:06 EST


On 05-11-20, 12:55, Ionela Voinescu wrote:
> In order to maintain the typical naming convention in the cpufreq
> framework:
> - replace the use of "cpu" variable name for cppc_cpudata pointers
> with "cpu_data"
> - replace variable names "cpu_num" and "cpunum" with "cpu"
> - make cpu variables unsigned int
>
> Where pertinent, also move the initialisation of cpu_data variable to
> its declaration and make consistent use of the local "cpu" variable.
>
> Signed-off-by: Ionela Voinescu <ionela.voinescu@xxxxxxx>
> Cc: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>
> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> drivers/cpufreq/cppc_cpufreq.c | 143 ++++++++++++++++-----------------
> 1 file changed, 69 insertions(+), 74 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh