Browse Source

ASoC: Remove redundant -codec from WM8903 driver name

It causes noisy -codecs to appear in things like .codec_name.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Mark Brown 14 years ago
parent
commit
4b592c919c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      sound/soc/codecs/wm8903.c
  2. 1 1
      sound/soc/tegra/harmony.c

+ 1 - 1
sound/soc/codecs/wm8903.c

@@ -1932,7 +1932,7 @@ MODULE_DEVICE_TABLE(i2c, wm8903_i2c_id);
 
 
 static struct i2c_driver wm8903_i2c_driver = {
 static struct i2c_driver wm8903_i2c_driver = {
 	.driver = {
 	.driver = {
-		.name = "wm8903-codec",
+		.name = "wm8903",
 		.owner = THIS_MODULE,
 		.owner = THIS_MODULE,
 	},
 	},
 	.probe =    wm8903_i2c_probe,
 	.probe =    wm8903_i2c_probe,

+ 1 - 1
sound/soc/tegra/harmony.c

@@ -225,7 +225,7 @@ static int harmony_asoc_init(struct snd_soc_pcm_runtime *rtd)
 static struct snd_soc_dai_link harmony_wm8903_dai = {
 static struct snd_soc_dai_link harmony_wm8903_dai = {
 	.name = "WM8903",
 	.name = "WM8903",
 	.stream_name = "WM8903 PCM",
 	.stream_name = "WM8903 PCM",
-	.codec_name = "wm8903-codec.0-001a",
+	.codec_name = "wm8903.0-001a",
 	.platform_name = "tegra-pcm-audio",
 	.platform_name = "tegra-pcm-audio",
 	.cpu_dai_name = "tegra-i2s.0",
 	.cpu_dai_name = "tegra-i2s.0",
 	.codec_dai_name = "wm8903-hifi",
 	.codec_dai_name = "wm8903-hifi",