diff options
Diffstat (limited to 'drivers/acpi/acpica/evxface.c')
-rw-r--r-- | drivers/acpi/acpica/evxface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/evxface.c b/drivers/acpi/acpica/evxface.c index 10b8543dd466..2fe0809d4eb2 100644 --- a/drivers/acpi/acpica/evxface.c +++ b/drivers/acpi/acpica/evxface.c | |||
@@ -259,7 +259,7 @@ acpi_install_notify_handler(acpi_handle device, | |||
259 | 259 | ||
260 | /* Convert and validate the device handle */ | 260 | /* Convert and validate the device handle */ |
261 | 261 | ||
262 | node = acpi_ns_map_handle_to_node(device); | 262 | node = acpi_ns_validate_handle(device); |
263 | if (!node) { | 263 | if (!node) { |
264 | status = AE_BAD_PARAMETER; | 264 | status = AE_BAD_PARAMETER; |
265 | goto unlock_and_exit; | 265 | goto unlock_and_exit; |
@@ -425,7 +425,7 @@ acpi_remove_notify_handler(acpi_handle device, | |||
425 | 425 | ||
426 | /* Convert and validate the device handle */ | 426 | /* Convert and validate the device handle */ |
427 | 427 | ||
428 | node = acpi_ns_map_handle_to_node(device); | 428 | node = acpi_ns_validate_handle(device); |
429 | if (!node) { | 429 | if (!node) { |
430 | status = AE_BAD_PARAMETER; | 430 | status = AE_BAD_PARAMETER; |
431 | goto unlock_and_exit; | 431 | goto unlock_and_exit; |