Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1471931

[PATCH v2 3/3] toshiba_acpi: Fix typo in *_cooling_method_set function

From Azael Avalos <coproscefalo@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/3] toshiba_acpi: Fix typo in *_cooling_method_set function
Date 2016-08-29 17:40 +0200
Message-ID <sbwPg-BA-29@gated-at.bofh.it> (permalink)
References <sbwPg-BA-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
---
 drivers/platform/x86/toshiba_acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index cc14e80..93f9ce1 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;
-- 
2.9.3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v2 3/3] toshiba_acpi: Fix typo in *_cooling_method_set function Azael Avalos <coproscefalo@gmail.com> - 2016-08-29 17:40 +0200

csiph-web