diff options
Diffstat (limited to 'drivers/acpi/acpica/nsxfeval.c')
| -rw-r--r-- | drivers/acpi/acpica/nsxfeval.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/nsxfeval.c b/drivers/acpi/acpica/nsxfeval.c index f2bd1da77001..f0c0892bc7e5 100644 --- a/drivers/acpi/acpica/nsxfeval.c +++ b/drivers/acpi/acpica/nsxfeval.c | |||
| @@ -190,7 +190,7 @@ acpi_evaluate_object(acpi_handle handle, | |||
| 190 | 190 | ||
| 191 | /* Convert and validate the device handle */ | 191 | /* Convert and validate the device handle */ |
| 192 | 192 | ||
| 193 | info->prefix_node = acpi_ns_map_handle_to_node(handle); | 193 | info->prefix_node = acpi_ns_validate_handle(handle); |
| 194 | if (!info->prefix_node) { | 194 | if (!info->prefix_node) { |
| 195 | status = AE_BAD_PARAMETER; | 195 | status = AE_BAD_PARAMETER; |
| 196 | goto cleanup; | 196 | goto cleanup; |
| @@ -552,7 +552,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle, | |||
| 552 | return (status); | 552 | return (status); |
| 553 | } | 553 | } |
| 554 | 554 | ||
| 555 | node = acpi_ns_map_handle_to_node(obj_handle); | 555 | node = acpi_ns_validate_handle(obj_handle); |
| 556 | status = acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 556 | status = acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
| 557 | if (ACPI_FAILURE(status)) { | 557 | if (ACPI_FAILURE(status)) { |
| 558 | return (status); | 558 | return (status); |
| @@ -729,7 +729,7 @@ acpi_attach_data(acpi_handle obj_handle, | |||
| 729 | 729 | ||
| 730 | /* Convert and validate the handle */ | 730 | /* Convert and validate the handle */ |
| 731 | 731 | ||
| 732 | node = acpi_ns_map_handle_to_node(obj_handle); | 732 | node = acpi_ns_validate_handle(obj_handle); |
| 733 | if (!node) { | 733 | if (!node) { |
| 734 | status = AE_BAD_PARAMETER; | 734 | status = AE_BAD_PARAMETER; |
| 735 | goto unlock_and_exit; | 735 | goto unlock_and_exit; |
| @@ -775,7 +775,7 @@ acpi_detach_data(acpi_handle obj_handle, acpi_object_handler handler) | |||
| 775 | 775 | ||
| 776 | /* Convert and validate the handle */ | 776 | /* Convert and validate the handle */ |
| 777 | 777 | ||
| 778 | node = acpi_ns_map_handle_to_node(obj_handle); | 778 | node = acpi_ns_validate_handle(obj_handle); |
| 779 | if (!node) { | 779 | if (!node) { |
| 780 | status = AE_BAD_PARAMETER; | 780 | status = AE_BAD_PARAMETER; |
| 781 | goto unlock_and_exit; | 781 | goto unlock_and_exit; |
| @@ -822,7 +822,7 @@ acpi_get_data(acpi_handle obj_handle, acpi_object_handler handler, void **data) | |||
| 822 | 822 | ||
| 823 | /* Convert and validate the handle */ | 823 | /* Convert and validate the handle */ |
| 824 | 824 | ||
| 825 | node = acpi_ns_map_handle_to_node(obj_handle); | 825 | node = acpi_ns_validate_handle(obj_handle); |
| 826 | if (!node) { | 826 | if (!node) { |
| 827 | status = AE_BAD_PARAMETER; | 827 | status = AE_BAD_PARAMETER; |
| 828 | goto unlock_and_exit; | 828 | goto unlock_and_exit; |
