[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201109065954.zjrghmexd3dptat3@vireshk-i7>
Date: Mon, 9 Nov 2020 12:29:54 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Ionela Voinescu <ionela.voinescu@....com>
Cc: rjw@...ysocki.net, lenb@...nel.org, sudeep.holla@....com,
morten.rasmussen@....com, jeremy.linton@....com,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
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@....com>
> Cc: Rafael J. Wysocki <rjw@...ysocki.net>
> Cc: Viresh Kumar <viresh.kumar@...aro.org>
> ---
> drivers/cpufreq/cppc_cpufreq.c | 143 ++++++++++++++++-----------------
> 1 file changed, 69 insertions(+), 74 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
viresh
Powered by blists - more mailing lists