提交 daea9b4f 编写于 作者: J Jassi Brar 提交者: Kukjin Kim

ARM: SAMSUNG: Rename s3c64xx I2S platform device

Since the I2S of S3C64XX and newer SoCs are incremental
versions of each other with changes managable in a single
driver, rename the 's3c64xx-iis' -> 'samsung-i2s'
Signed-off-by: NJassi Brar <jassi.brar@samsung.com>
Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 8b0ae0b7
...@@ -77,7 +77,7 @@ static struct s3c_audio_pdata s3c_i2s0_pdata = { ...@@ -77,7 +77,7 @@ static struct s3c_audio_pdata s3c_i2s0_pdata = {
}; };
struct platform_device s3c64xx_device_iis0 = { struct platform_device s3c64xx_device_iis0 = {
.name = "s3c64xx-iis", .name = "samsung-i2s",
.id = 0, .id = 0,
.num_resources = ARRAY_SIZE(s3c64xx_iis0_resource), .num_resources = ARRAY_SIZE(s3c64xx_iis0_resource),
.resource = s3c64xx_iis0_resource, .resource = s3c64xx_iis0_resource,
...@@ -110,7 +110,7 @@ static struct s3c_audio_pdata s3c_i2s1_pdata = { ...@@ -110,7 +110,7 @@ static struct s3c_audio_pdata s3c_i2s1_pdata = {
}; };
struct platform_device s3c64xx_device_iis1 = { struct platform_device s3c64xx_device_iis1 = {
.name = "s3c64xx-iis", .name = "samsung-i2s",
.id = 1, .id = 1,
.num_resources = ARRAY_SIZE(s3c64xx_iis1_resource), .num_resources = ARRAY_SIZE(s3c64xx_iis1_resource),
.resource = s3c64xx_iis1_resource, .resource = s3c64xx_iis1_resource,
...@@ -143,7 +143,7 @@ static struct s3c_audio_pdata s3c_i2sv4_pdata = { ...@@ -143,7 +143,7 @@ static struct s3c_audio_pdata s3c_i2sv4_pdata = {
}; };
struct platform_device s3c64xx_device_iisv4 = { struct platform_device s3c64xx_device_iisv4 = {
.name = "s3c64xx-iis-v4", .name = "samsung-i2s-v4",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(s3c64xx_iisv4_resource), .num_resources = ARRAY_SIZE(s3c64xx_iisv4_resource),
.resource = s3c64xx_iisv4_resource, .resource = s3c64xx_iisv4_resource,
......
...@@ -65,7 +65,7 @@ static struct resource s5p6442_iis0_resource[] = { ...@@ -65,7 +65,7 @@ static struct resource s5p6442_iis0_resource[] = {
}; };
struct platform_device s5p6442_device_iis0 = { struct platform_device s5p6442_device_iis0 = {
.name = "s3c64xx-iis-v4", .name = "samsung-i2s-v4",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(s5p6442_iis0_resource), .num_resources = ARRAY_SIZE(s5p6442_iis0_resource),
.resource = s5p6442_iis0_resource, .resource = s5p6442_iis0_resource,
...@@ -93,7 +93,7 @@ static struct resource s5p6442_iis1_resource[] = { ...@@ -93,7 +93,7 @@ static struct resource s5p6442_iis1_resource[] = {
}; };
struct platform_device s5p6442_device_iis1 = { struct platform_device s5p6442_device_iis1 = {
.name = "s3c64xx-iis", .name = "samsung-i2s",
.id = 1, .id = 1,
.num_resources = ARRAY_SIZE(s5p6442_iis1_resource), .num_resources = ARRAY_SIZE(s5p6442_iis1_resource),
.resource = s5p6442_iis1_resource, .resource = s5p6442_iis1_resource,
......
...@@ -82,7 +82,7 @@ static struct resource s5p64x0_iis0_resource[] = { ...@@ -82,7 +82,7 @@ static struct resource s5p64x0_iis0_resource[] = {
}; };
struct platform_device s5p6440_device_iis = { struct platform_device s5p6440_device_iis = {
.name = "s3c64xx-iis-v4", .name = "samsung-i2s-v4",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(s5p64x0_iis0_resource), .num_resources = ARRAY_SIZE(s5p64x0_iis0_resource),
.resource = s5p64x0_iis0_resource, .resource = s5p64x0_iis0_resource,
...@@ -92,7 +92,7 @@ struct platform_device s5p6440_device_iis = { ...@@ -92,7 +92,7 @@ struct platform_device s5p6440_device_iis = {
}; };
struct platform_device s5p6450_device_iis0 = { struct platform_device s5p6450_device_iis0 = {
.name = "s3c64xx-iis-v4", .name = "samsung-i2s-v4",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(s5p64x0_iis0_resource), .num_resources = ARRAY_SIZE(s5p64x0_iis0_resource),
.resource = s5p64x0_iis0_resource, .resource = s5p64x0_iis0_resource,
......
...@@ -65,7 +65,7 @@ static struct resource s5pc100_iis0_resource[] = { ...@@ -65,7 +65,7 @@ static struct resource s5pc100_iis0_resource[] = {
}; };
struct platform_device s5pc100_device_iis0 = { struct platform_device s5pc100_device_iis0 = {
.name = "s3c64xx-iis-v4", .name = "samsung-i2s-v4",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(s5pc100_iis0_resource), .num_resources = ARRAY_SIZE(s5pc100_iis0_resource),
.resource = s5pc100_iis0_resource, .resource = s5pc100_iis0_resource,
...@@ -93,7 +93,7 @@ static struct resource s5pc100_iis1_resource[] = { ...@@ -93,7 +93,7 @@ static struct resource s5pc100_iis1_resource[] = {
}; };
struct platform_device s5pc100_device_iis1 = { struct platform_device s5pc100_device_iis1 = {
.name = "s3c64xx-iis", .name = "samsung-i2s",
.id = 1, .id = 1,
.num_resources = ARRAY_SIZE(s5pc100_iis1_resource), .num_resources = ARRAY_SIZE(s5pc100_iis1_resource),
.resource = s5pc100_iis1_resource, .resource = s5pc100_iis1_resource,
...@@ -121,7 +121,7 @@ static struct resource s5pc100_iis2_resource[] = { ...@@ -121,7 +121,7 @@ static struct resource s5pc100_iis2_resource[] = {
}; };
struct platform_device s5pc100_device_iis2 = { struct platform_device s5pc100_device_iis2 = {
.name = "s3c64xx-iis", .name = "samsung-i2s",
.id = 2, .id = 2,
.num_resources = ARRAY_SIZE(s5pc100_iis2_resource), .num_resources = ARRAY_SIZE(s5pc100_iis2_resource),
.resource = s5pc100_iis2_resource, .resource = s5pc100_iis2_resource,
......
...@@ -66,7 +66,7 @@ static struct resource s5pv210_iis0_resource[] = { ...@@ -66,7 +66,7 @@ static struct resource s5pv210_iis0_resource[] = {
}; };
struct platform_device s5pv210_device_iis0 = { struct platform_device s5pv210_device_iis0 = {
.name = "s3c64xx-iis-v4", .name = "samsung-i2s-v4",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(s5pv210_iis0_resource), .num_resources = ARRAY_SIZE(s5pv210_iis0_resource),
.resource = s5pv210_iis0_resource, .resource = s5pv210_iis0_resource,
...@@ -94,7 +94,7 @@ static struct resource s5pv210_iis1_resource[] = { ...@@ -94,7 +94,7 @@ static struct resource s5pv210_iis1_resource[] = {
}; };
struct platform_device s5pv210_device_iis1 = { struct platform_device s5pv210_device_iis1 = {
.name = "s3c64xx-iis", .name = "samsung-i2s",
.id = 1, .id = 1,
.num_resources = ARRAY_SIZE(s5pv210_iis1_resource), .num_resources = ARRAY_SIZE(s5pv210_iis1_resource),
.resource = s5pv210_iis1_resource, .resource = s5pv210_iis1_resource,
...@@ -122,7 +122,7 @@ static struct resource s5pv210_iis2_resource[] = { ...@@ -122,7 +122,7 @@ static struct resource s5pv210_iis2_resource[] = {
}; };
struct platform_device s5pv210_device_iis2 = { struct platform_device s5pv210_device_iis2 = {
.name = "s3c64xx-iis", .name = "samsung-i2s",
.id = 2, .id = 2,
.num_resources = ARRAY_SIZE(s5pv210_iis2_resource), .num_resources = ARRAY_SIZE(s5pv210_iis2_resource),
.resource = s5pv210_iis2_resource, .resource = s5pv210_iis2_resource,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册