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

Commit 21671b88 authored by Frans Pop's avatar Frans Pop Committed by Len Brown
Browse files

ACPI processor: remove spurious newline from warning message



Commit 4973b22a ("ACPI processor: reset the throttling state once it's
invalid") introduced a new warning which prints a spurious newline.

The ACPI_WARNING macro that is used already takes care of adding a
newline, after adding ACPI_CA_VERSION to the message. Remove the newline
to avoid the message getting split into two lines.

Signed-off-by: default avatarFrans Pop <elendil@planet.nl>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 1fc8d33a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -840,7 +840,7 @@ static int acpi_processor_get_throttling_ptc(struct acpi_processor *pr)
		state = acpi_get_throttling_state(pr, value);
		if (state == -1) {
			ACPI_WARNING((AE_INFO,
				"Invalid throttling state, reset\n"));
				"Invalid throttling state, reset"));
			state = 0;
			ret = acpi_processor_set_throttling(pr, state);
			if (ret)