'\" t .\" Title: usb_put_dev .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: USB Core APIs .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "USB_PUT_DEV" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "USB Core APIs" .\" ----------------------------------------------------------------- .\" * 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" usb_put_dev \- release a use of the usb device structure .SH "SYNOPSIS" .HP \w'void\ usb_put_dev('u .BI "void usb_put_dev(struct\ usb_device\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 device that\*(Aqs been disconnected .RE .SH "DESCRIPTION" .PP Must be called when a user of a device is finished with it\&. When the last user of the device calls this function, the memory of the device is freed\&. .SH "COPYRIGHT" .br