提交 ec513886 编写于 作者: J Jeremy McDermond 提交者: Mark Brown

ASoC: tlv320aic32x4: Change name of probe function

The codec's probe function is named aic32x4_probe.  This is going to
conflict with later work to implement SPI support and separate out I2S
into its own file.  In line with other drivers in the tree, this function
is renamed to aic32x4_codec_probe instead.
Signed-off-by: NJeremy McDermond <nh6z@nh6z.net>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 f55532a0
......@@ -596,7 +596,7 @@ static struct snd_soc_dai_driver aic32x4_dai = {
.symmetric_rates = 1,
};
static int aic32x4_probe(struct snd_soc_codec *codec)
static int aic32x4_codec_probe(struct snd_soc_codec *codec)
{
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
u32 tmp_reg;
......@@ -655,7 +655,7 @@ static int aic32x4_probe(struct snd_soc_codec *codec)
}
static struct snd_soc_codec_driver soc_codec_dev_aic32x4 = {
.probe = aic32x4_probe,
.probe = aic32x4_codec_probe,
.set_bias_level = aic32x4_set_bias_level,
.suspend_bias_off = true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册