diff options
author | Bob Moore <robert.moore@intel.com> | 2009-06-29 13:43:27 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-27 10:17:19 -0400 |
commit | 8e4319c425077c4cc540696a5bb6c4d12f017dcd (patch) | |
tree | 6498586c5d438d679489b30ef6e294dfdeb3b655 /drivers/acpi/acpica/nsload.c | |
parent | 6557a49a443a347d24aed58076365432ded30edc (diff) | |
download | linux-stable-8e4319c425077c4cc540696a5bb6c4d12f017dcd.tar.gz linux-stable-8e4319c425077c4cc540696a5bb6c4d12f017dcd.tar.bz2 linux-stable-8e4319c425077c4cc540696a5bb6c4d12f017dcd.zip |
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 dcd7a6adbbbc..a7234e60e985 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); } |