summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/loongson2_cpufreq.c
diff options
context:
space:
mode:
authorRafael J. Wysocki2015-07-29 03:08:57 +0200
committerRafael J. Wysocki2015-07-31 22:00:31 +0200
commit194d99c7e3ce54a8c7d8adf79fb1d8ad49a9bf9f (patch)
treedc0234510d923946164bc1fe5beaeef7556d22bd /drivers/cpufreq/loongson2_cpufreq.c
parentcpufreq: Separate CPU device registration from CPU online (diff)
downloadkernel-qcow2-linux-194d99c7e3ce54a8c7d8adf79fb1d8ad49a9bf9f.tar.gz
kernel-qcow2-linux-194d99c7e3ce54a8c7d8adf79fb1d8ad49a9bf9f.tar.xz
kernel-qcow2-linux-194d99c7e3ce54a8c7d8adf79fb1d8ad49a9bf9f.zip
cpufreq: Replace recover_policy with new_policy in cpufreq_online()
The recover_policy is unsed in cpufreq_online() to indicate whether a new policy object is created or an existing one is reinitialized. The "recover" part of the name is slightly confusing (it should be "reinitialization" rather than "recovery") and the logical not (!) operator is applied to it in almost all of the checks it is used in, so replace that variable with a new one called "new_policy" that will be true in the case of a new policy creation. While at it, drop one of the labels that is jumped to from only one spot. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/loongson2_cpufreq.c')
0 files changed, 0 insertions, 0 deletions