ASoC: Remove redundant -codec from WM8903 driver name
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Feb 2011 13:47:06 +0000 (13:47 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Feb 2011 22:47:56 +0000 (22:47 +0000)
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>
sound/soc/codecs/wm8903.c
sound/soc/tegra/harmony.c

index 3d4c55f..7c84ebf 100644 (file)
@@ -1932,7 +1932,7 @@ MODULE_DEVICE_TABLE(i2c, wm8903_i2c_id);
 
 static struct i2c_driver wm8903_i2c_driver = {
        .driver = {
-               .name = "wm8903-codec",
+               .name = "wm8903",
                .owner = THIS_MODULE,
        },
        .probe =    wm8903_i2c_probe,
index be95405..61befcc 100644 (file)
@@ -225,7 +225,7 @@ static int harmony_asoc_init(struct snd_soc_pcm_runtime *rtd)
 static struct snd_soc_dai_link harmony_wm8903_dai = {
        .name = "WM8903",
        .stream_name = "WM8903 PCM",
-       .codec_name = "wm8903-codec.0-001a",
+       .codec_name = "wm8903.0-001a",
        .platform_name = "tegra-pcm-audio",
        .cpu_dai_name = "tegra-i2s.0",
        .codec_dai_name = "wm8903-hifi",