ACPI: correct minor typos
authorAl Stone <al.stone@linaro.org>
Thu, 5 Dec 2013 18:14:16 +0000 (11:14 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 7 Dec 2013 00:38:45 +0000 (01:38 +0100)
Correct "coolign" to "cooling" and "*_ptg" to "*_pctg" as intended.

This changes comment text only.

Signed-off-by: Al Stone <al.stone@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_thermal.c

index f95e7584d6e680bfe2b8cc49bc16f7c3a492a517..e003663b2f8e5346d8862f336e604c8c6bf35035 100644 (file)
@@ -183,14 +183,14 @@ static int cpufreq_set_cur_state(unsigned int cpu, int state)
 
 #endif
 
-/* thermal coolign device callbacks */
+/* thermal cooling device callbacks */
 static int acpi_processor_max_state(struct acpi_processor *pr)
 {
        int max_state = 0;
 
        /*
         * There exists four states according to
-        * cpufreq_thermal_reduction_ptg. 0, 1, 2, 3
+        * cpufreq_thermal_reduction_pctg. 0, 1, 2, 3
         */
        max_state += cpufreq_get_max_state(pr->id);
        if (pr->flags.throttling)