.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "PCI_REMOVE_DEVICE_SAFE" "" "06 October 2005" "" ""
.SH NAME
pci_remove_device_safe \- remove an unused hotplug device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int pci_remove_device_safe (struct pci_dev * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
the device to remove
.SH "DESCRIPTION"
.PP
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.