diff options
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index b65ce7519411..31fb979b1bfe 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -9018,7 +9018,7 @@ static int mute_led_on_off(struct tp_led_table *t, bool state) | |||
9018 | acpi_handle temp; | 9018 | acpi_handle temp; |
9019 | int output; | 9019 | int output; |
9020 | 9020 | ||
9021 | if (!ACPI_SUCCESS(acpi_get_handle(hkey_handle, t->name, &temp))) { | 9021 | if (ACPI_FAILURE(acpi_get_handle(hkey_handle, t->name, &temp))) { |
9022 | pr_warn("Thinkpad ACPI has no %s interface.\n", t->name); | 9022 | pr_warn("Thinkpad ACPI has no %s interface.\n", t->name); |
9023 | return -EIO; | 9023 | return -EIO; |
9024 | } | 9024 | } |