.\" 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 "PLATFORM_DEVICE_UNREGISTER" "9" "09 October 2005" "" ""
.SH NAME
platform_device_unregister \- remove a platform-level device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void platform_device_unregister (struct platform_device * \fIpdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpdev\fB\fR
platform device we're removing
.SH "DESCRIPTION"
.PP
Note that this function will also release all memory- and port-based
resources owned by the device (\fIdev\fR->resource).