'\" t .\" Title: snd_device_free .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Sound Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SND_DEVICE_FREE" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Sound Devices" .\" ----------------------------------------------------------------- .\" * 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" snd_device_free \- release the device from the card .SH "SYNOPSIS" .HP \w'void\ snd_device_free('u .BI "void snd_device_free(struct\ snd_card\ *\ " "card" ", void\ *\ " "device_data" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 the card instance .RE .PP \fIdevice_data\fR .RS 4 the data pointer to release .RE .SH "DESCRIPTION" .PP Removes the device from the list on the card and invokes the callbacks, dev_disconnect and dev_free, corresponding to the state\&. Then release the device\&. .SH "COPYRIGHT" .br