'\" t .\" Title: platform_device_del .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PLATFORM_DEVICE_DEL" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" platform_device_del \- remove a platform\-level device .SH "SYNOPSIS" .HP \w'void\ platform_device_del('u .BI "void platform_device_del(struct\ platform_device\ *\ " "pdev" ");" .SH "ARGUMENTS" .PP \fIpdev\fR .RS 4 platform device we\*(Aqre removing .RE .SH "DESCRIPTION" .PP Note that this function will also release all memory\- and port\-based resources owned by the device (\fIdev\fR\->resource)\&. This function must _only_ be externally called in error cases\&. All other usage is a bug\&. .SH "COPYRIGHT" .br