mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
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>
This commit is contained in:
parent
513ee146f6
commit
fa1bc2a09f
@ -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);
|
u32 result = hci_write(dev, HCI_COOLING_METHOD, state);
|
||||||
|
|
||||||
if (result == TOS_FAILURE)
|
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)
|
if (result == TOS_NOT_SUPPORTED)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
Loading…
Reference in New Issue
Block a user