aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorStratos Karafotis <stratosk@semaphore.gr>2013-08-26 14:42:21 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-28 16:04:54 -0400
commitc4afc410942f9f0675a5431adbdb03cf5908d1df (patch)
tree7f9712cac68f56fc7530929a6da84a37e2abcdf7 /drivers/cpufreq
parent934dac1ea072bd8adff8d6a6abba561731e093cf (diff)
cpufreq: governor: Fix typos in comments
- 'Governer' should be 'Governor'. - 'S' is used for Siemens (electrical conductance) in SI units, so use small 's' for seconds. Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq_governor.c2
-rw-r--r--drivers/cpufreq/cpufreq_governor.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c
index bce2cd216423..0e5929b36276 100644
--- a/drivers/cpufreq/cpufreq_governor.c
+++ b/drivers/cpufreq/cpufreq_governor.c
@@ -233,7 +233,7 @@ int cpufreq_governor_dbs(struct cpufreq_policy *policy,
233 233
234 policy->governor_data = dbs_data; 234 policy->governor_data = dbs_data;
235 235
236 /* policy latency is in nS. Convert it to uS first */ 236 /* policy latency is in ns. Convert it to us first */
237 latency = policy->cpuinfo.transition_latency / 1000; 237 latency = policy->cpuinfo.transition_latency / 1000;
238 if (latency == 0) 238 if (latency == 0)
239 latency = 1; 239 latency = 1;
diff --git a/drivers/cpufreq/cpufreq_governor.h b/drivers/cpufreq/cpufreq_governor.h
index a02d78b25898..88cd39f7b0e9 100644
--- a/drivers/cpufreq/cpufreq_governor.h
+++ b/drivers/cpufreq/cpufreq_governor.h
@@ -25,11 +25,11 @@
25/* 25/*
26 * The polling frequency depends on the capability of the processor. Default 26 * The polling frequency depends on the capability of the processor. Default
27 * polling frequency is 1000 times the transition latency of the processor. The 27 * polling frequency is 1000 times the transition latency of the processor. The
28 * governor will work on any processor with transition latency <= 10mS, using 28 * governor will work on any processor with transition latency <= 10ms, using
29 * appropriate sampling rate. 29 * appropriate sampling rate.
30 * 30 *
31 * For CPUs with transition latency > 10mS (mostly drivers with CPUFREQ_ETERNAL) 31 * For CPUs with transition latency > 10ms (mostly drivers with CPUFREQ_ETERNAL)
32 * this governor will not work. All times here are in uS. 32 * this governor will not work. All times here are in us (micro seconds).
33 */ 33 */
34#define MIN_SAMPLING_RATE_RATIO (2) 34#define MIN_SAMPLING_RATE_RATIO (2)
35#define LATENCY_MULTIPLIER (1000) 35#define LATENCY_MULTIPLIER (1000)
@@ -162,7 +162,7 @@ struct cs_cpu_dbs_info_s {
162 unsigned int enable:1; 162 unsigned int enable:1;
163}; 163};
164 164
165/* Per policy Governers sysfs tunables */ 165/* Per policy Governors sysfs tunables */
166struct od_dbs_tuners { 166struct od_dbs_tuners {
167 unsigned int ignore_nice_load; 167 unsigned int ignore_nice_load;
168 unsigned int sampling_rate; 168 unsigned int sampling_rate;
@@ -181,7 +181,7 @@ struct cs_dbs_tuners {
181 unsigned int freq_step; 181 unsigned int freq_step;
182}; 182};
183 183
184/* Common Governer data across policies */ 184/* Common Governor data across policies */
185struct dbs_data; 185struct dbs_data;
186struct common_dbs_data { 186struct common_dbs_data {
187 /* Common across governors */ 187 /* Common across governors */
@@ -205,7 +205,7 @@ struct common_dbs_data {
205 void *gov_ops; 205 void *gov_ops;
206}; 206};
207 207
208/* Governer Per policy data */ 208/* Governor Per policy data */
209struct dbs_data { 209struct dbs_data {
210 struct common_dbs_data *cdata; 210 struct common_dbs_data *cdata;
211 unsigned int min_sampling_rate; 211 unsigned int min_sampling_rate;