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

2016-08-28 Thread Darren Hart
On Tue, Aug 16, 2016 at 12:06:17PM -0600, Azael Avalos wrote:
> This patch simply fixes a typo in the error string printed in such
> function.
> 
> Signed-off-by: Azael Avalos 

Thanks, queued to for-next.

-- 
Darren Hart
Intel Open Source Technology Center


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

2016-08-28 Thread Darren Hart
On Tue, Aug 16, 2016 at 12:06:17PM -0600, Azael Avalos wrote:
> This patch simply fixes a typo in the error string printed in such
> function.
> 
> Signed-off-by: Azael Avalos 

Thanks, queued to for-next.

-- 
Darren Hart
Intel Open Source Technology Center


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

2016-08-16 Thread Azael Avalos
This patch simply fixes a typo in the error string printed in such
function.

Signed-off-by: Azael Avalos 
---
 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 2256cf5..254a4d5 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -1285,7 +1285,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.2



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

2016-08-16 Thread Azael Avalos
This patch simply fixes a typo in the error string printed in such
function.

Signed-off-by: Azael Avalos 
---
 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 2256cf5..254a4d5 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -1285,7 +1285,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.2