cpufreq: governor: Fix typos in comments
authorStratos Karafotis <stratosk@semaphore.gr>
Mon, 26 Aug 2013 18:42:21 +0000 (21:42 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Aug 2013 20:04:54 +0000 (22:04 +0200)
 - '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>
drivers/cpufreq/cpufreq_governor.c
drivers/cpufreq/cpufreq_governor.h

index bce2cd216423fc55093819ed8d729a21e44de192..0e5929b3627650dbd622b0c91fcd703842581d0f 100644 (file)
@@ -233,7 +233,7 @@ int cpufreq_governor_dbs(struct cpufreq_policy *policy,
 
                policy->governor_data = dbs_data;
 
-               /* policy latency is in nS. Convert it to uS first */
+               /* policy latency is in ns. Convert it to us first */
                latency = policy->cpuinfo.transition_latency / 1000;
                if (latency == 0)
                        latency = 1;
index a02d78b258982d36d13724879c6b719376c2e7ab..88cd39f7b0e9573b4fc7e5ca13ac0126cf6ede9d 100644 (file)
 /*
  * The polling frequency depends on the capability of the processor. Default
  * polling frequency is 1000 times the transition latency of the processor. The
- * governor will work on any processor with transition latency <= 10mS, using
+ * governor will work on any processor with transition latency <= 10ms, using
  * appropriate sampling rate.
  *
- * For CPUs with transition latency > 10mS (mostly drivers with CPUFREQ_ETERNAL)
- * this governor will not work. All times here are in uS.
+ * For CPUs with transition latency > 10ms (mostly drivers with CPUFREQ_ETERNAL)
+ * this governor will not work. All times here are in us (micro seconds).
  */
 #define MIN_SAMPLING_RATE_RATIO                        (2)
 #define LATENCY_MULTIPLIER                     (1000)
@@ -162,7 +162,7 @@ struct cs_cpu_dbs_info_s {
        unsigned int enable:1;
 };
 
-/* Per policy Governers sysfs tunables */
+/* Per policy Governors sysfs tunables */
 struct od_dbs_tuners {
        unsigned int ignore_nice_load;
        unsigned int sampling_rate;
@@ -181,7 +181,7 @@ struct cs_dbs_tuners {
        unsigned int freq_step;
 };
 
-/* Common Governer data across policies */
+/* Common Governor data across policies */
 struct dbs_data;
 struct common_dbs_data {
        /* Common across governors */
@@ -205,7 +205,7 @@ struct common_dbs_data {
        void *gov_ops;
 };
 
-/* Governer Per policy data */
+/* Governor Per policy data */
 struct dbs_data {
        struct common_dbs_data *cdata;
        unsigned int min_sampling_rate;
This page took 0.124283 seconds and 5 git commands to generate.