platform/x86: toshiba_acpi: Fix typo in *_cooling_method_set function
authorAzael Avalos <coproscefalo@gmail.com>
Mon, 29 Aug 2016 15:37:36 +0000 (09:37 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 1 Sep 2016 00:33:33 +0000 (17:33 -0700)
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>
drivers/platform/x86/toshiba_acpi.c

index 158b3af866e3e4d9817d72152f42d468a180c693..074bf2fa1c550933651e1ef899bd932c38abfb88 100644 (file)
@@ -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;
This page took 0.024935 seconds and 5 git commands to generate.