diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-07-29 01:08:57 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-07-31 20:00:31 (GMT) |
commit | 194d99c7e3ce54a8c7d8adf79fb1d8ad49a9bf9f (patch) | |
tree | dc0234510d923946164bc1fe5beaeef7556d22bd /drivers/cpufreq/sh-cpufreq.c | |
parent | 0b275352872b2641ed5c94d0f0f8c7e907bf3e3f (diff) | |
download | linux-194d99c7e3ce54a8c7d8adf79fb1d8ad49a9bf9f.tar.xz |
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/sh-cpufreq.c')
0 files changed, 0 insertions, 0 deletions