pci_destroy_slot (9) - Linux Manuals
pci_destroy_slot: decrement refcount for physical PCI slot
NAME
pci_destroy_slot - decrement refcount for physical PCI slot
SYNOPSIS
- 
void pci_destroy_slot(struct pci_slot 
* slot); 
ARGUMENTS
slot
- 
- struct pci_slot to decrement
  
DESCRIPTION
struct 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.
COPYRIGHT