diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-08-06 13:23:05 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-07 17:34:10 -0400 |
commit | 3a3e9e06d0c11b8efa95933a88c9e67209fa4330 (patch) | |
tree | 29f19cbdaf481676527ca866caa618bcdfbac4ca /include/linux/cpufreq.h | |
parent | 74aca95da74836a6807118f6590d8df8232c74a9 (diff) |
cpufreq: Give consistent names to cpufreq_policy objects
They are called policy, cur_policy, new_policy, data, etc. Just call
them policy wherever possible.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 0d3b0266bc98..29208923c9d3 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -94,7 +94,7 @@ struct cpufreq_policy { | |||
94 | #define CPUFREQ_SHARED_TYPE_ANY (3) /* Freq can be set from any dependent CPU*/ | 94 | #define CPUFREQ_SHARED_TYPE_ANY (3) /* Freq can be set from any dependent CPU*/ |
95 | 95 | ||
96 | struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); | 96 | struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); |
97 | void cpufreq_cpu_put(struct cpufreq_policy *data); | 97 | void cpufreq_cpu_put(struct cpufreq_policy *policy); |
98 | 98 | ||
99 | static inline bool policy_is_shared(struct cpufreq_policy *policy) | 99 | static inline bool policy_is_shared(struct cpufreq_policy *policy) |
100 | { | 100 | { |