Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6dd7aca8 authored by Al Stone's avatar Al Stone Committed by Rafael J. Wysocki
Browse files

ACPI: correct minor typos



Correct "coolign" to "cooling" and "*_ptg" to "*_pctg" as intended.

This changes comment text only.

Signed-off-by: default avatarAl Stone <al.stone@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 100eb0b0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)