ASoC: Samsung: Rename AC97 platform device
authorJassi Brar <jassi.brar@samsung.com>
Mon, 22 Nov 2010 06:36:00 +0000 (15:36 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Nov 2010 14:05:29 +0000 (14:05 +0000)
Call the AC97 controller devices found in S3C, S5P and newer
SoCs as 'samsung-ac97' rather than 's3c-ac97'.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-s3c64xx/dev-audio.c
arch/arm/mach-s5pc100/dev-audio.c
arch/arm/mach-s5pv210/dev-audio.c
arch/arm/plat-s3c24xx/devs.c
sound/soc/s3c24xx/ln2440sbc_alc650.c
sound/soc/s3c24xx/s3c-ac97.c
sound/soc/s3c24xx/smdk2443_wm9710.c
sound/soc/s3c24xx/smdk_wm9713.c

index 4a4b8a505ff9d397abc24409992cd6081c90dad8..cad67022fa2577330663ec035a1a96ea36c7e1de 100644 (file)
@@ -296,7 +296,7 @@ static struct s3c_audio_pdata s3c_ac97_pdata;
 static u64 s3c64xx_ac97_dmamask = DMA_BIT_MASK(32);
 
 struct platform_device s3c64xx_device_ac97 = {
-       .name             = "s3c-ac97",
+       .name             = "samsung-ac97",
        .id               = -1,
        .num_resources    = ARRAY_SIZE(s3c64xx_ac97_resource),
        .resource         = s3c64xx_ac97_resource,
index 10ab275ebd63b3b574af212253402b4feeb6e091..ab2d27172cbcdb10be54a054031e8ad4eb36bdd2 100644 (file)
@@ -281,7 +281,7 @@ static struct s3c_audio_pdata s3c_ac97_pdata = {
 static u64 s5pc100_ac97_dmamask = DMA_BIT_MASK(32);
 
 struct platform_device s5pc100_device_ac97 = {
-       .name             = "s3c-ac97",
+       .name             = "samsung-ac97",
        .id               = -1,
        .num_resources    = ARRAY_SIZE(s5pc100_ac97_resource),
        .resource         = s5pc100_ac97_resource,
index ddd2704b34679e70d6d20dc7fb4dc70f7ace1bec..8d58f1926241d3358d8a48aea2ef253b2bf4f4c3 100644 (file)
@@ -311,7 +311,7 @@ static struct s3c_audio_pdata s3c_ac97_pdata = {
 static u64 s5pv210_ac97_dmamask = DMA_BIT_MASK(32);
 
 struct platform_device s5pv210_device_ac97 = {
-       .name             = "s3c-ac97",
+       .name             = "samsung-ac97",
        .id               = -1,
        .num_resources    = ARRAY_SIZE(s5pv210_ac97_resource),
        .resource         = s5pv210_ac97_resource,
index 5987f949e167dfb80f778895b3e057d7f1be3cf1..8a42bc48dbf0e55576d57ecb02e032bf4c63226c 100644 (file)
@@ -484,7 +484,7 @@ static struct resource s3c_ac97_resource[] = {
 static u64 s3c_device_audio_dmamask = 0xffffffffUL;
 
 struct platform_device s3c_device_ac97 = {
-       .name             = "s3c-ac97",
+       .name             = "samsung-ac97",
        .id               = -1,
        .num_resources    = ARRAY_SIZE(s3c_ac97_resource),
        .resource         = s3c_ac97_resource,
index 340263e60f0c29675531f5167aebd76611d9d14e..1a0dd313afbd6d31ad81f15dc1a20b8ee05a3261 100644 (file)
@@ -31,7 +31,7 @@ static struct snd_soc_dai_link ln2440sbc_dai[] = {
 {
        .name = "AC97",
        .stream_name = "AC97 HiFi",
-       .cpu_dai_name = "s3c-ac97",
+       .cpu_dai_name = "samsung-ac97",
        .codec_dai_name = "ac97-hifi",
        .codec_name = "ac97-codec",
        .platform_name = "samsung-audio",
index 408f9c9ff80562cc2e21982057ab93bc3a8bbf96..5352cacd9c177f1028765a55335ad46722e2ced5 100644 (file)
@@ -497,7 +497,7 @@ static struct platform_driver s3c_ac97_driver = {
        .probe  = s3c_ac97_probe,
        .remove = s3c_ac97_remove,
        .driver = {
-               .name = "s3c-ac97",
+               .name = "samsung-ac97",
                .owner = THIS_MODULE,
        },
 };
@@ -517,4 +517,4 @@ module_exit(s3c_ac97_exit);
 MODULE_AUTHOR("Jaswinder Singh, <jassi.brar@samsung.com>");
 MODULE_DESCRIPTION("AC97 driver for the Samsung SoC");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:s3c-ac97");
+MODULE_ALIAS("platform:samsung-ac97");
index 2e9dd290941b2985f7b4d7da09fcd801491993dd..e8787ad0a73e4c9b325d16236f1483bcd911e9fe 100644 (file)
@@ -27,7 +27,7 @@ static struct snd_soc_dai_link smdk2443_dai[] = {
 {
        .name = "AC97",
        .stream_name = "AC97 HiFi",
-       .cpu_dai_name = "s3c-ac97",
+       .cpu_dai_name = "samsung-ac97",
        .codec_dai_name = "ac97-hifi",
        .codec_name = "ac97-codec",
        .platform_name = "samsung-audio",
index 80f2aef55c3d941f7fc06cab849e3df53edbd52a..56b448d49609154caa2d543f5acea13ad0944ab5 100644 (file)
@@ -46,7 +46,7 @@ static struct snd_soc_dai_link smdk_dai = {
        .name = "AC97",
        .stream_name = "AC97 PCM",
        .platform_name = "samsung-audio",
-       .cpu_dai_name = "s3c-ac97",
+       .cpu_dai_name = "samsung-ac97",
        .codec_dai_name = "wm9713-hifi",
        .codec_name = "wm9713-codec",
 };