diff options
author | Bob Moore <robert.moore@intel.com> | 2009-06-29 05:43:27 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-27 14:17:19 (GMT) |
commit | 8e4319c425077c4cc540696a5bb6c4d12f017dcd (patch) | |
tree | 6498586c5d438d679489b30ef6e294dfdeb3b655 /drivers/acpi/acpica/nsload.c | |
parent | 6557a49a443a347d24aed58076365432ded30edc (diff) | |
download | linux-8e4319c425077c4cc540696a5bb6c4d12f017dcd.tar.xz |
ACPICA: Fix several acpi_attach_data problems
Handler was never invoked. Now invoked if/when host node is deleted.
Data object was not automatically deleted when host node was deleted.
Interface to handler had an unused parameter, removed it.
ACPICA BZ 778.
http://acpica.org/bugzilla/show_bug.cgi?id=778
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/nsload.c')
-rw-r--r-- | drivers/acpi/acpica/nsload.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/nsload.c b/drivers/acpi/acpica/nsload.c index dcd7a6a..a7234e6 100644 --- a/drivers/acpi/acpica/nsload.c +++ b/drivers/acpi/acpica/nsload.c @@ -270,8 +270,7 @@ static acpi_status acpi_ns_delete_subtree(acpi_handle start_handle) /* Now delete the starting object, and we are done */ - acpi_ns_delete_node(child_handle); - + acpi_ns_remove_node(child_handle); return_ACPI_STATUS(AE_OK); } |