From: Azael Avalos Date: Mon, 29 Aug 2016 15:37:36 +0000 (-0600) Subject: platform/x86: toshiba_acpi: Fix typo in *_cooling_method_set function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fa1bc2a09f5f6c83eeb49686911565d9630ef054;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Darren Hart --- 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;