'\" t .\" Title: acpi_scan_drop_device .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ACPI_SCAN_DROP_DEVIC" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" acpi_scan_drop_device \- Drop an ACPI device object\&. .SH "SYNOPSIS" .HP \w'void\ acpi_scan_drop_device('u .BI "void acpi_scan_drop_device(acpi_handle\ " "handle" ", void\ *\ " "context" ");" .SH "ARGUMENTS" .PP \fIhandle\fR .RS 4 Handle of an ACPI namespace node, not used\&. .RE .PP \fIcontext\fR .RS 4 Address of the ACPI device object to drop\&. .RE .SH "DESCRIPTION" .PP This is invoked by \fBacpi_ns_delete_node\fR during the removal of the ACPI namespace node the device object pointed to by \fIcontext\fR is attached to\&. .PP The unregistration is carried out asynchronously to avoid running \fBacpi_device_del\fR under the ACPICA\*(Aqs 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)\&. .SH "COPYRIGHT" .br