summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAzael Avalos <coproscefalo@gmail.com>2016-08-29 09:37:36 -0600
committerDarren Hart <dvhart@linux.intel.com>2016-08-31 17:33:33 -0700
commitfa1bc2a09f5f6c83eeb49686911565d9630ef054 (patch)
tree74c2f383ef7e18385ad4830236c77de3586778af /drivers/platform
parent513ee146f69c48db362189b6423e6c4ede4b3aad (diff)
downloadlinux-stable-fa1bc2a09f5f6c83eeb49686911565d9630ef054.tar.gz
linux-stable-fa1bc2a09f5f6c83eeb49686911565d9630ef054.tar.bz2
linux-stable-fa1bc2a09f5f6c83eeb49686911565d9630ef054.zip
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/toshiba_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index 158b3af866e3..074bf2fa1c55 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/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);
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;