aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_thermal.c
diff options
context:
space:
mode:
authorAl Stone <al.stone@linaro.org>2013-12-05 13:14:16 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-06 19:38:45 -0500
commit6dd7aca824df3bd2f9c684b9dc68ee00afb065e8 (patch)
treecb02278df5e43cf91db0c7487831d66c97be3a86 /drivers/acpi/processor_thermal.c
parent100eb0b04293fbb7af689ff7ddfe8fc8a46ab65c (diff)
ACPI: correct minor typos
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>
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
-rw-r--r--drivers/acpi/processor_thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c
index f95e7584d6e6..e003663b2f8e 100644
--- a/drivers/acpi/processor_thermal.c
+++ b/drivers/acpi/processor_thermal.c
@@ -183,14 +183,14 @@ static int cpufreq_set_cur_state(unsigned int cpu, int state)
183 183
184#endif 184#endif
185 185
186/* thermal coolign device callbacks */ 186/* thermal cooling device callbacks */
187static int acpi_processor_max_state(struct acpi_processor *pr) 187static int acpi_processor_max_state(struct acpi_processor *pr)
188{ 188{
189 int max_state = 0; 189 int max_state = 0;
190 190
191 /* 191 /*
192 * There exists four states according to 192 * There exists four states according to
193 * cpufreq_thermal_reduction_ptg. 0, 1, 2, 3 193 * cpufreq_thermal_reduction_pctg. 0, 1, 2, 3
194 */ 194 */
195 max_state += cpufreq_get_max_state(pr->id); 195 max_state += cpufreq_get_max_state(pr->id);
196 if (pr->flags.throttling) 196 if (pr->flags.throttling)