diff options
Diffstat (limited to 'drivers/acpi/namespace/nsaccess.c')
-rw-r--r-- | drivers/acpi/namespace/nsaccess.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/namespace/nsaccess.c b/drivers/acpi/namespace/nsaccess.c index ba8ad569188f..48fadade52e2 100644 --- a/drivers/acpi/namespace/nsaccess.c +++ b/drivers/acpi/namespace/nsaccess.c | |||
@@ -259,10 +259,8 @@ acpi_status acpi_ns_root_initialize(void) | |||
259 | /* Save a handle to "_GPE", it is always present */ | 259 | /* Save a handle to "_GPE", it is always present */ |
260 | 260 | ||
261 | if (ACPI_SUCCESS(status)) { | 261 | if (ACPI_SUCCESS(status)) { |
262 | status = | 262 | status = acpi_ns_get_node(NULL, "\\_GPE", ACPI_NS_NO_UPSEARCH, |
263 | acpi_ns_get_node_by_path("\\_GPE", NULL, | 263 | &acpi_gbl_fadt_gpe_device); |
264 | ACPI_NS_NO_UPSEARCH, | ||
265 | &acpi_gbl_fadt_gpe_device); | ||
266 | } | 264 | } |
267 | 265 | ||
268 | return_ACPI_STATUS(status); | 266 | return_ACPI_STATUS(status); |