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

Commit fa1bc2a0 authored by Azael Avalos's avatar Azael Avalos Committed by Darren Hart
Browse files

platform/x86: toshiba_acpi: Fix typo in *_cooling_method_set function



This patch simply fixes a typo in the error string printed in
the *_cooling_method_set function.

Signed-off-by: default avatarAzael Avalos <coproscefalo@gmail.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 513ee146
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1291,7 +1291,7 @@ static int toshiba_cooling_method_set(struct toshiba_acpi_dev *dev, u32 state)
	u32 result = hci_write(dev, HCI_COOLING_METHOD, state);

	if (result == TOS_FAILURE)
		pr_err("ACPI call to get Cooling Method failed\n");
		pr_err("ACPI call to set Cooling Method failed\n");

	if (result == TOS_NOT_SUPPORTED)
		return -ENODEV;