Browse Source

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: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Azael Avalos 9 years ago
parent
commit
fa1bc2a09f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/platform/x86/toshiba_acpi.c

+ 1 - 1
drivers/platform/x86/toshiba_acpi.c

@@ -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);
 	u32 result = hci_write(dev, HCI_COOLING_METHOD, state);
 
 
 	if (result == TOS_FAILURE)
 	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)
 	if (result == TOS_NOT_SUPPORTED)
 		return -ENODEV;
 		return -ENODEV;