]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: Blackfin: standardize machine driver names
authorMike Frysinger <vapier@gentoo.org>
Mon, 28 Mar 2011 05:45:09 +0000 (01:45 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 29 Mar 2011 22:17:50 +0000 (07:17 +0900)
Some machine drivers were using "bf5xx-", others were using "bf5xx_",
while others were using "bfin-".  Further, some were using the same
name in the transport layer which makes it hard to use different codecs
at the same time.  So standardize all of them to "bfin-" and make sure
they are name spaced according to their driver name.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/bf5xx-ac97-pcm.c
sound/soc/blackfin/bf5xx-ad1836.c
sound/soc/blackfin/bf5xx-ad193x.c
sound/soc/blackfin/bf5xx-ad1980.c
sound/soc/blackfin/bf5xx-ad73311.c
sound/soc/blackfin/bf5xx-i2s-pcm.c
sound/soc/blackfin/bf5xx-i2s.c
sound/soc/blackfin/bf5xx-ssm2602.c
sound/soc/blackfin/bf5xx-tdm-pcm.c

index 5a2fd8abaefaee65e5509e4c98adf252c06293df..e940d26048d0ccedc59a8853087cde1b5ed2c752 100644 (file)
@@ -458,7 +458,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev)
 
 static struct platform_driver bf5xx_pcm_driver = {
        .driver = {
-                       .name = "bf5xx-pcm-audio",
+                       .name = "bfin-ac97-pcm-audio",
                        .owner = THIS_MODULE,
        },
 
index 826bae696d36e59a1908bf4077f4ee3b0b32ae87..5d9d9e2805b8f6b5ff259b7a86a73fe42de333ff 100644 (file)
@@ -82,15 +82,15 @@ static struct snd_soc_ops bf5xx_ad1836_ops = {
 static struct snd_soc_dai_link bf5xx_ad1836_dai = {
        .name = "ad1836",
        .stream_name = "AD1836",
-       .cpu_dai_name = "bf5xx-tdm",
+       .cpu_dai_name = "bfin-tdm",
        .codec_dai_name = "ad1836-hifi",
-       .platform_name = "bf5xx-tdm-pcm-audio",
+       .platform_name = "bfin-tdm-pcm-audio",
        .codec_name = "ad1836.0",
        .ops = &bf5xx_ad1836_ops,
 };
 
 static struct snd_soc_card bf5xx_ad1836 = {
-       .name = "bf5xx_ad1836",
+       .name = "bfin-ad1836",
        .dai_link = &bf5xx_ad1836_dai,
        .num_links = 1,
 };
index 5794d094d0034bf7cbfc2689d18d8e46648f9a06..355094fad18a6559d592944a645c97ebf75b817b 100644 (file)
@@ -110,15 +110,15 @@ static struct snd_soc_ops bf5xx_ad193x_ops = {
 static struct snd_soc_dai_link bf5xx_ad193x_dai = {
        .name = "ad193x",
        .stream_name = "AD193X",
-       .cpu_dai_name = "bf5xx-tdm",
+       .cpu_dai_name = "bfin-tdm",
        .codec_dai_name ="ad193x-hifi",
-       .platform_name = "bf5xx-tdm-pcm-audio",
+       .platform_name = "bfin-tdm-pcm-audio",
        .codec_name = "ad193x.5",
        .ops = &bf5xx_ad193x_ops,
 };
 
 static struct snd_soc_card bf5xx_ad193x = {
-       .name = "bf5xx_ad193x",
+       .name = "bfin-ad193x",
        .dai_link = &bf5xx_ad193x_dai,
        .num_links = 1,
 };
index c147130a2e7ef024c7ee2f6de4a4210249179069..a3812408c6a50b9cd8336e14ac6fd00414f5cf47 100644 (file)
@@ -72,13 +72,13 @@ static struct snd_soc_dai_link bf5xx_board_dai = {
        .stream_name = "AC97 HiFi",
        .cpu_dai_name = "bfin-ac97",
        .codec_dai_name = "ad1980-hifi",
-       .platform_name = "bfin-pcm-audio",
+       .platform_name = "bfin-ac97-pcm-audio",
        .codec_name = "ad1980",
        .ops = &bf5xx_board_ops,
 };
 
 static struct snd_soc_card bf5xx_board = {
-       .name = "bf5xx-board",
+       .name = "bfin-ad1980",
        .dai_link = &bf5xx_board_dai,
        .num_links = 1,
 };
index 1655f950dfb4711822db087bdb845bbaafdbd4a6..9f0d4f3c590f832274349c490dfb6461b4d43ed8 100644 (file)
@@ -183,15 +183,15 @@ static struct snd_soc_ops bf5xx_ad73311_ops = {
 static struct snd_soc_dai_link bf5xx_ad73311_dai = {
        .name = "ad73311",
        .stream_name = "AD73311",
-       .cpu_dai_name = "bf5xx-i2s",
+       .cpu_dai_name = "bfin-i2s",
        .codec_dai_name = "ad73311-hifi",
-       .platform_name = "bfin-pcm-audio",
+       .platform_name = "bfin-i2s-pcm-audio",
        .codec_name = "ad73311",
        .ops = &bf5xx_ad73311_ops,
 };
 
 static struct snd_soc_card bf5xx_ad73311 = {
-       .name = "bf5xx_ad73311",
+       .name = "bfin-ad73311",
        .probe = bf5xx_probe,
        .dai_link = &bf5xx_ad73311_dai,
        .num_links = 1,
index 890a0dccf902a4fc14922cd11565406df86ec0b7..50b1df8c1416de87c7c1eac799e4bcc7dbbb2520 100644 (file)
@@ -292,7 +292,7 @@ static int __devexit bfin_i2s_soc_platform_remove(struct platform_device *pdev)
 
 static struct platform_driver bfin_i2s_pcm_driver = {
        .driver = {
-                       .name = "bfin-pcm-audio",
+                       .name = "bfin-i2s-pcm-audio",
                        .owner = THIS_MODULE,
        },
 
index 37d9d3c2f2b110c2b36ef2ad8171987ef6fa9133..dacd86c2ead4bb13e6e4066e39b0fab871c329f8 100644 (file)
@@ -316,7 +316,7 @@ static struct platform_driver bfin_i2s_driver = {
        .remove = __devexit_p(bfin_i2s_drv_remove),
 
        .driver = {
-               .name = "bf5xx-i2s",
+               .name = "bfin-i2s",
                .owner = THIS_MODULE,
        },
 };
index 732a02ffe68f094673658517affcdf2e257fab9b..8a7b589a6fb3da989a6b94282d8e7bdee1fbbeb6 100644 (file)
@@ -116,15 +116,15 @@ static struct snd_soc_ops bf5xx_ssm2602_ops = {
 static struct snd_soc_dai_link bf5xx_ssm2602_dai = {
        .name = "ssm2602",
        .stream_name = "SSM2602",
-       .cpu_dai_name = "bf5xx-i2s",
+       .cpu_dai_name = "bfin-i2s",
        .codec_dai_name = "ssm2602-hifi",
-       .platform_name = "bf5xx-pcm-audio",
+       .platform_name = "bfin-i2s-pcm-audio",
        .codec_name = "ssm2602.0-001b",
        .ops = &bf5xx_ssm2602_ops,
 };
 
 static struct snd_soc_card bf5xx_ssm2602 = {
-       .name = "bf5xx_ssm2602",
+       .name = "bfin-ssm2602",
        .dai_link = &bf5xx_ssm2602_dai,
        .num_links = 1,
 };
index 74cf759b78a6ceac0fa2210e25f540e191ed1e08..d1bd745d72cf6b1dfdc80bb1fbcebdaba34f094f 100644 (file)
@@ -326,7 +326,7 @@ static int __devexit bf5xx_soc_platform_remove(struct platform_device *pdev)
 
 static struct platform_driver bfin_tdm_driver = {
        .driver = {
-                       .name = "bf5xx-tdm-pcm-audio",
+                       .name = "bfin-tdm-pcm-audio",
                        .owner = THIS_MODULE,
        },