.\" 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 "DEVICE_DEL" "" "06 October 2005" "" ""
.SH NAME
device_del \- delete device from system.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void device_del (struct device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
device.
.SH "DESCRIPTION"
.PP
This is the first part of the device unregistration
sequence. This removes the device from the lists we control
from here, has it removed from the other driver model
subsystems it was added to in \fBdevice_add\fR, and removes it
from the kobject hierarchy.
.SH "NOTE"
.PP
this should be called manually _iff_ \fBdevice_add\fR was
also called manually.