'\" t .\" Title: pci_destroy_slot .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PCI_DESTROY_SLOT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * 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" pci_destroy_slot \- decrement refcount for physical PCI slot .SH "SYNOPSIS" .HP \w'void\ pci_destroy_slot('u .BI "void pci_destroy_slot(struct\ pci_slot\ *\ " "slot" ");" .SH "ARGUMENTS" .PP \fIslot\fR .RS 4 struct pci_slot to decrement .RE .SH "DESCRIPTION" .PP \fBstruct\fR pci_slot is refcounted, so destroying them is really easy; we just call kobject_put on its kobj and let our release methods do the rest\&. .SH "COPYRIGHT" .br