diff options
author | Ionela Voinescu <ionela.voinescu@arm.com> | 2020-11-05 13:55:18 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-11-17 15:57:09 +0100 |
commit | 48ad8dc94032ab43f0655190d9687f6d65b98f7f (patch) | |
tree | 92a568d785b7e3abdaafb3db74537e63bf96bc86 /drivers/sfi | |
parent | cppc_cpufreq: fix misspelling, code style and readability issues (diff) | |
download | linux-48ad8dc94032ab43f0655190d9687f6d65b98f7f.tar.xz linux-48ad8dc94032ab43f0655190d9687f6d65b98f7f.zip |
cppc_cpufreq: clean up cpu, cpu_num and cpunum variable use
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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions