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.