Messages in this thread | | | Date | Mon, 9 Nov 2020 12:29:54 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH 2/8] cppc_cpufreq: clean up cpu, cpu_num and cpunum variable use |
| |
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@arm.com> > Cc: Rafael J. Wysocki <rjw@rjwysocki.net> > Cc: Viresh Kumar <viresh.kumar@linaro.org> > --- > drivers/cpufreq/cppc_cpufreq.c | 143 ++++++++++++++++----------------- > 1 file changed, 69 insertions(+), 74 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
-- viresh
| |