
NAME
pci_remove_device_safe - remove an unused hotplug device
SYNOPSIS
int pci_remove_device_safe (struct pci_dev * dev);
ARGUMENTS
dev the device to remove
DESCRIPTION
Delete the device structure from the device lists and notify userspace
(/sbin/hotplug), but only if the device in question is not being used
by a driver. Returns 0 on success.