diff options
author | Bob Moore <robert.moore@intel.com> | 2009-12-11 01:57:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-15 17:29:35 -0500 |
commit | f24b664dc44a4ab4df61db2258cea298eeb43a8e (patch) | |
tree | b31ad7e9dd77da75e0358e4359b0cee164426595 /drivers/acpi/acpica/evxfregn.c | |
parent | 34c39c755347c1ca3d06284bad2273c6a9c3108a (diff) |
ACPICA: Update internal namespace node/handle interfaces
This change deletes the unnecessary acpi_ns_convert_entry_to_handle
interface and renames the acpi_ns_map_handle_to_node interface to
acpi_ns_validate_handle. ACPICA BZ 798.
http://www.acpica.org/bugzilla/show_bug.cgi?id=798
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/evxfregn.c')
-rw-r--r-- | drivers/acpi/acpica/evxfregn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/evxfregn.c b/drivers/acpi/acpica/evxfregn.c index 7c3d2d356ffb..c98aa7c2d67c 100644 --- a/drivers/acpi/acpica/evxfregn.c +++ b/drivers/acpi/acpica/evxfregn.c | |||
@@ -89,7 +89,7 @@ acpi_install_address_space_handler(acpi_handle device, | |||
89 | 89 | ||
90 | /* Convert and validate the device handle */ | 90 | /* Convert and validate the device handle */ |
91 | 91 | ||
92 | node = acpi_ns_map_handle_to_node(device); | 92 | node = acpi_ns_validate_handle(device); |
93 | if (!node) { | 93 | if (!node) { |
94 | status = AE_BAD_PARAMETER; | 94 | status = AE_BAD_PARAMETER; |
95 | goto unlock_and_exit; | 95 | goto unlock_and_exit; |
@@ -155,7 +155,7 @@ acpi_remove_address_space_handler(acpi_handle device, | |||
155 | 155 | ||
156 | /* Convert and validate the device handle */ | 156 | /* Convert and validate the device handle */ |
157 | 157 | ||
158 | node = acpi_ns_map_handle_to_node(device); | 158 | node = acpi_ns_validate_handle(device); |
159 | if (!node || | 159 | if (!node || |
160 | ((node->type != ACPI_TYPE_DEVICE) && | 160 | ((node->type != ACPI_TYPE_DEVICE) && |
161 | (node->type != ACPI_TYPE_PROCESSOR) && | 161 | (node->type != ACPI_TYPE_PROCESSOR) && |