acpi_scan_drop_device(9)

acpi_scan_drop_device9

Drop an acpi device object.

Usage

void acpi_scan_drop_device(acpi_handle handle, void * context);

Arguments

handle

Handle of an ACPI namespace node, not used.

context

Address of the ACPI device object to drop.

Overview

This is invoked by acpi_ns_delete_node during the removal of the ACPI namespace node the device object pointed to by context is attached to.

The unregistration is carried out asynchronously to avoid running acpi_device_del under the ACPICA's namespace mutex and the list is used to ensure the correct ordering (the device objects must be unregistered in the same order in which the corresponding namespace nodes are deleted).

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.