提交 99b59f3c 编写于 作者: M Mark Brown

ASoC: Remove -codec from WM8731 driver name

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NLiam Girdwood <lrg@ti.com>
上级 5e251aec
...@@ -184,7 +184,7 @@ static struct snd_soc_dai_link at91sam9g20ek_dai = { ...@@ -184,7 +184,7 @@ static struct snd_soc_dai_link at91sam9g20ek_dai = {
.codec_dai_name = "wm8731-hifi", .codec_dai_name = "wm8731-hifi",
.init = at91sam9g20ek_wm8731_init, .init = at91sam9g20ek_wm8731_init,
.platform_name = "atmel-pcm-audio", .platform_name = "atmel-pcm-audio",
.codec_name = "wm8731-codec.0-001b", .codec_name = "wm8731.0-001b",
.ops = &at91sam9g20ek_ops, .ops = &at91sam9g20ek_ops,
}; };
......
...@@ -77,7 +77,7 @@ static struct snd_soc_dai_link db1200_i2s_dai = { ...@@ -77,7 +77,7 @@ static struct snd_soc_dai_link db1200_i2s_dai = {
.codec_dai_name = "wm8731-hifi", .codec_dai_name = "wm8731-hifi",
.cpu_dai_name = "au1xpsc_i2s.1", .cpu_dai_name = "au1xpsc_i2s.1",
.platform_name = "au1xpsc-pcm.1", .platform_name = "au1xpsc-pcm.1",
.codec_name = "wm8731-codec.0-001b", .codec_name = "wm8731.0-001b",
.ops = &db1200_i2s_wm8731_ops, .ops = &db1200_i2s_wm8731_ops,
}; };
......
...@@ -659,7 +659,7 @@ static int __devexit wm8731_spi_remove(struct spi_device *spi) ...@@ -659,7 +659,7 @@ static int __devexit wm8731_spi_remove(struct spi_device *spi)
static struct spi_driver wm8731_spi_driver = { static struct spi_driver wm8731_spi_driver = {
.driver = { .driver = {
.name = "wm8731-codec", .name = "wm8731",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = wm8731_spi_probe, .probe = wm8731_spi_probe,
...@@ -703,7 +703,7 @@ MODULE_DEVICE_TABLE(i2c, wm8731_i2c_id); ...@@ -703,7 +703,7 @@ MODULE_DEVICE_TABLE(i2c, wm8731_i2c_id);
static struct i2c_driver wm8731_i2c_driver = { static struct i2c_driver wm8731_i2c_driver = {
.driver = { .driver = {
.name = "wm8731-codec", .name = "wm8731",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = wm8731_i2c_probe, .probe = wm8731_i2c_probe,
......
...@@ -310,7 +310,7 @@ static struct snd_soc_dai_link corgi_dai = { ...@@ -310,7 +310,7 @@ static struct snd_soc_dai_link corgi_dai = {
.cpu_dai_name = "pxa2xx-i2s", .cpu_dai_name = "pxa2xx-i2s",
.codec_dai_name = "wm8731-hifi", .codec_dai_name = "wm8731-hifi",
.platform_name = "pxa-pcm-audio", .platform_name = "pxa-pcm-audio",
.codec_name = "wm8731-codec.0-001b", .codec_name = "wm8731.0-001b",
.init = corgi_wm8731_init, .init = corgi_wm8731_init,
.ops = &corgi_ops, .ops = &corgi_ops,
}; };
......
...@@ -276,7 +276,7 @@ static struct snd_soc_dai_link poodle_dai = { ...@@ -276,7 +276,7 @@ static struct snd_soc_dai_link poodle_dai = {
.cpu_dai_name = "pxa2xx-i2s", .cpu_dai_name = "pxa2xx-i2s",
.codec_dai_name = "wm8731-hifi", .codec_dai_name = "wm8731-hifi",
.platform_name = "pxa-pcm-audio", .platform_name = "pxa-pcm-audio",
.codec_name = "wm8731-codec.0-001b", .codec_name = "wm8731.0-001b",
.init = poodle_wm8731_init, .init = poodle_wm8731_init,
.ops = &poodle_ops, .ops = &poodle_ops,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册