diff options
Diffstat (limited to 'drivers/acpi/acpica/evxfevnt.c')
-rw-r--r-- | drivers/acpi/acpica/evxfevnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/evxfevnt.c b/drivers/acpi/acpica/evxfevnt.c index 4721f58fe42c..eed7a38d25f2 100644 --- a/drivers/acpi/acpica/evxfevnt.c +++ b/drivers/acpi/acpica/evxfevnt.c | |||
@@ -610,7 +610,7 @@ acpi_install_gpe_block(acpi_handle gpe_device, | |||
610 | return (status); | 610 | return (status); |
611 | } | 611 | } |
612 | 612 | ||
613 | node = acpi_ns_map_handle_to_node(gpe_device); | 613 | node = acpi_ns_validate_handle(gpe_device); |
614 | if (!node) { | 614 | if (!node) { |
615 | status = AE_BAD_PARAMETER; | 615 | status = AE_BAD_PARAMETER; |
616 | goto unlock_and_exit; | 616 | goto unlock_and_exit; |
@@ -698,7 +698,7 @@ acpi_status acpi_remove_gpe_block(acpi_handle gpe_device) | |||
698 | return (status); | 698 | return (status); |
699 | } | 699 | } |
700 | 700 | ||
701 | node = acpi_ns_map_handle_to_node(gpe_device); | 701 | node = acpi_ns_validate_handle(gpe_device); |
702 | if (!node) { | 702 | if (!node) { |
703 | status = AE_BAD_PARAMETER; | 703 | status = AE_BAD_PARAMETER; |
704 | goto unlock_and_exit; | 704 | goto unlock_and_exit; |