.\" 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 "I2O_DELETE_DEVICE" "" "06 October 2005" "" ""
.SH NAME
i2o_delete_device \- remove an i2o device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int i2o_delete_device (struct i2o_device * \fId\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fId\fB\fR
device to remove
.SH "DESCRIPTION"
.PP
This function unhooks a device from a controller. The device
will not be unhooked if it has an owner who does not wish to free
it, or if the owner lacks a dev_del_notify function. In that case
-EBUSY is returned. On success 0 is returned. Other errors cause
negative errno values to be returned