Skip to content

Commit

Permalink
platform/x86: toshiba_acpi: Fix typo in *_cooling_method_set function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Azael Avalos authored and Darren Hart committed Sep 1, 2016
1 parent 513ee14 commit fa1bc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/toshiba_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fa1bc2a

Please sign in to comment.