cpufreq: Replace recover_policy with new_policy in cpufreq_online()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 29 Jul 2015 01:08:57 +0000 (03:08 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 31 Jul 2015 20:00:31 +0000 (22:00 +0200)
commit194d99c7e3ce54a8c7d8adf79fb1d8ad49a9bf9f
treedc0234510d923946164bc1fe5beaeef7556d22bd
parent0b275352872b2641ed5c94d0f0f8c7e907bf3e3f
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>
drivers/cpufreq/cpufreq.c
This page took 0.025174 seconds and 5 git commands to generate.