aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-08-02 23:06:19 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-01 09:50:39 -0400
commitc7a7b418dd1991079dd7ef03fec7d1863ef96154 (patch)
tree75b21f447f6e3820b203c87449fdc9ac7830347b
parent88dc4384958759510db248bf9158434ac783d407 (diff)
cpufreq: rename cpufreq_real_policy as cpufreq_user_policy
Its all about caching min/max freq requested by userspace, and the name 'cpufreq_real_policy' doesn't fit that well. Rename it to cpufreq_user_policy. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--include/linux/cpufreq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 54dbbff0a55e..6ff6a4d95eea 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -51,7 +51,7 @@ struct cpufreq_cpuinfo {
51 unsigned int transition_latency; 51 unsigned int transition_latency;
52}; 52};
53 53
54struct cpufreq_real_policy { 54struct cpufreq_user_policy {
55 unsigned int min; /* in kHz */ 55 unsigned int min; /* in kHz */
56 unsigned int max; /* in kHz */ 56 unsigned int max; /* in kHz */
57}; 57};
@@ -86,7 +86,7 @@ struct cpufreq_policy {
86 struct work_struct update; /* if update_policy() needs to be 86 struct work_struct update; /* if update_policy() needs to be
87 * called, but you're in IRQ context */ 87 * called, but you're in IRQ context */
88 88
89 struct cpufreq_real_policy user_policy; 89 struct cpufreq_user_policy user_policy;
90 struct cpufreq_frequency_table *freq_table; 90 struct cpufreq_frequency_table *freq_table;
91 91
92 struct list_head policy_list; 92 struct list_head policy_list;