devm_snd_soc_register_component(9)

devm_snd_soc_register_component9

Resource managed component registration

Usage

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);

Arguments

dev

Device used to manage component

cmpnt_drv

Component driver

dai_drv

DAI driver

num_dai

Number of DAIs to register

Overview

Register a component with automatic unregistration when the device is unregistered.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.