summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/nsxfobj.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-05-21 06:27:51 +0400
committerLen Brown <len.brown@intel.com>2009-05-27 08:35:50 +0400
commit8c725bf93706db976e9de495579ca625d493e809 (patch)
tree2299fdabb28ddc5cb81085dcfd13afaffc86febc /drivers/acpi/acpica/nsxfobj.c
parent474caffdc1ab35e9bcb1f88768442e3a4079a10d (diff)
downloadlinux-8c725bf93706db976e9de495579ca625d493e809.tar.xz
ACPICA: Simplify and optimize NsGetNextNode function
Reduced parameter count and reduced code for this frequently used function. 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/nsxfobj.c')
-rw-r--r--drivers/acpi/acpica/nsxfobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsxfobj.c b/drivers/acpi/acpica/nsxfobj.c
index 1c7efc15225f..dd33d8b53d6d 100644
--- a/drivers/acpi/acpica/nsxfobj.c
+++ b/drivers/acpi/acpica/nsxfobj.c
@@ -268,7 +268,7 @@ acpi_get_next_object(acpi_object_type type,
/* Internal function does the real work */
- node = acpi_ns_get_next_node(type, parent_node, child_node);
+ node = acpi_ns_get_next_node_typed(type, parent_node, child_node);
if (!node) {
status = AE_NOT_FOUND;
goto unlock_and_exit;