forked from Minki/linux
ASoC: codecs: tlv320aic3x: rename probe function
Renamed function to have it free for generic probe. Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz> Link: https://lore.kernel.org/r/20210406142439.102396-3-jiri.prchal@aksignal.cz Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
73a4808892
commit
b015df6ac0
@ -1610,7 +1610,7 @@ static bool aic3x_is_shared_reset(struct aic3x_priv *aic3x)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int aic3x_probe(struct snd_soc_component *component)
|
static int aic3x_component_probe(struct snd_soc_component *component)
|
||||||
{
|
{
|
||||||
struct aic3x_priv *aic3x = snd_soc_component_get_drvdata(component);
|
struct aic3x_priv *aic3x = snd_soc_component_get_drvdata(component);
|
||||||
int ret, i;
|
int ret, i;
|
||||||
@ -1689,7 +1689,7 @@ static int aic3x_probe(struct snd_soc_component *component)
|
|||||||
|
|
||||||
static const struct snd_soc_component_driver soc_component_dev_aic3x = {
|
static const struct snd_soc_component_driver soc_component_dev_aic3x = {
|
||||||
.set_bias_level = aic3x_set_bias_level,
|
.set_bias_level = aic3x_set_bias_level,
|
||||||
.probe = aic3x_probe,
|
.probe = aic3x_component_probe,
|
||||||
.controls = aic3x_snd_controls,
|
.controls = aic3x_snd_controls,
|
||||||
.num_controls = ARRAY_SIZE(aic3x_snd_controls),
|
.num_controls = ARRAY_SIZE(aic3x_snd_controls),
|
||||||
.dapm_widgets = aic3x_dapm_widgets,
|
.dapm_widgets = aic3x_dapm_widgets,
|
||||||
|
Loading…
Reference in New Issue
Block a user