OSDN Git Service

cpufreq: Fix for typos in two comments
authorShailendra Verma <shailendra.capricorn@gmail.com>
Fri, 22 May 2015 17:18:22 +0000 (22:48 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 May 2015 21:59:44 +0000 (23:59 +0200)
Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c

index c08de5e..870df94 100644 (file)
@@ -226,7 +226,7 @@ int cpufreq_generic_init(struct cpufreq_policy *policy,
        policy->cpuinfo.transition_latency = transition_latency;
 
        /*
-        * The driver only supports the SMP configuartion where all processors
+        * The driver only supports the SMP configuration where all processors
         * share the clock and voltage and clock.
         */
        cpumask_setall(policy->cpus);
@@ -1931,7 +1931,7 @@ static int __target_index(struct cpufreq_policy *policy,
                 * Failed after setting to intermediate freq? Driver should have
                 * reverted back to initial frequency and so should we. Check
                 * here for intermediate_freq instead of get_intermediate, in
-                * case we have't switched to intermediate freq at all.
+                * case we haven't switched to intermediate freq at all.
                 */
                if (unlikely(retval && intermediate_freq)) {
                        freqs.old = intermediate_freq;