'\" t .\" Title: devm_snd_soc_register_component .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DEVM_SND_SOC_REGISTE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "ASoC" .\" ----------------------------------------------------------------- .\" * 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" devm_snd_soc_register_component \- resource managed component registration .SH "SYNOPSIS" .HP \w'int\ devm_snd_soc_register_component('u .BI "int devm_snd_soc_register_component(struct\ device\ *\ " "dev" ", const\ struct\ snd_soc_component_driver\ *\ " "cmpnt_drv" ", struct\ snd_soc_dai_driver\ *\ " "dai_drv" ", int\ " "num_dai" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Device used to manage component .RE .PP \fIcmpnt_drv\fR .RS 4 Component driver .RE .PP \fIdai_drv\fR .RS 4 DAI driver .RE .PP \fInum_dai\fR .RS 4 Number of DAIs to register .RE .SH "DESCRIPTION" .PP Register a component with automatic unregistration when the device is unregistered\&. .SH "COPYRIGHT" .br