diff options
Diffstat (limited to 'drivers/platform/x86/intel-smartconnect.c')
-rw-r--r-- | drivers/platform/x86/intel-smartconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel-smartconnect.c b/drivers/platform/x86/intel-smartconnect.c index 04cf5dffdfd9..bbe4c06c769f 100644 --- a/drivers/platform/x86/intel-smartconnect.c +++ b/drivers/platform/x86/intel-smartconnect.c | |||
@@ -29,7 +29,7 @@ static int smartconnect_acpi_init(struct acpi_device *acpi) | |||
29 | acpi_status status; | 29 | acpi_status status; |
30 | 30 | ||
31 | status = acpi_evaluate_integer(acpi->handle, "GAOS", NULL, &value); | 31 | status = acpi_evaluate_integer(acpi->handle, "GAOS", NULL, &value); |
32 | if (!ACPI_SUCCESS(status)) | 32 | if (ACPI_FAILURE(status)) |
33 | return -EINVAL; | 33 | return -EINVAL; |
34 | 34 | ||
35 | if (value & 0x1) { | 35 | if (value & 0x1) { |