summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2003-06-19 02:14:18 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-06-19 02:14:18 -0700
commit6bc2700336a7ad2d9f87f477413bfcb83e992108 (patch)
tree8535a67376c55c8e7cdaf3e905b8f5094db4ed89 /drivers/pci/hotplug.c
parentf26ad85d7d3d5b3731263556de78cef53444b27d (diff)
[PATCH] PCI: rename pci_get_dev() and pci_put_dev() to pci_dev_get() and pci_dev_put()
This makes things more consistant with the other get and put functions in the driver code.
Diffstat (limited to 'drivers/pci/hotplug.c')
-rw-r--r--drivers/pci/hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug.c b/drivers/pci/hotplug.c
index 81e4020be4b9..3b2ac2a8c080 100644
--- a/drivers/pci/hotplug.c
+++ b/drivers/pci/hotplug.c
@@ -188,7 +188,7 @@ static void pci_destroy_dev(struct pci_dev *dev)
spin_unlock(&pci_bus_lock);
pci_free_resources(dev);
- pci_put_dev(dev);
+ pci_dev_put(dev);
}
/**