aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-02-24 09:09:38 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-28 07:35:20 -0500
commit64902b29cbdd04e030621f556d44702272faa96d (patch)
treee5094b72d907b680203671e7191abc8d907b2bbf /sound
parent7c59bc55e476947c1ea8a019e97aa648de53f5a0 (diff)
ASoC: Remove unnecessary -codec from cs4270 driver name
Similar to what commit 1e3ad57 (ASoC: Remove redundant -codec from WM8776 driver name) does for wm8776 driver, this patch does the same thing for cs4270 driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Timur Tabi <timur@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cs4270.c2
-rw-r--r--sound/soc/fsl/mpc8610_hpcd.c4
-rw-r--r--sound/soc/pxa/raumfeld.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 6baccd285df1..1d672f528662 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -715,7 +715,7 @@ MODULE_DEVICE_TABLE(i2c, cs4270_id);
715 */ 715 */
716static struct i2c_driver cs4270_i2c_driver = { 716static struct i2c_driver cs4270_i2c_driver = {
717 .driver = { 717 .driver = {
718 .name = "cs4270-codec", 718 .name = "cs4270",
719 .owner = THIS_MODULE, 719 .owner = THIS_MODULE,
720 }, 720 },
721 .id_table = cs4270_id, 721 .id_table = cs4270_id,
diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c
index 93256b39ccb6..fcf9302f59b4 100644
--- a/sound/soc/fsl/mpc8610_hpcd.c
+++ b/sound/soc/fsl/mpc8610_hpcd.c
@@ -245,7 +245,7 @@ static int get_parent_cell_index(struct device_node *np)
245 * 'struct device' It's ugly and hackish, but it works. 245 * 'struct device' It's ugly and hackish, but it works.
246 * 246 *
247 * The dev_name for such devices include the bus number and I2C address. For 247 * The dev_name for such devices include the bus number and I2C address. For
248 * example, "cs4270-codec.0-004f". 248 * example, "cs4270.0-004f".
249 */ 249 */
250static int codec_node_dev_name(struct device_node *np, char *buf, size_t len) 250static int codec_node_dev_name(struct device_node *np, char *buf, size_t len)
251{ 251{
@@ -267,7 +267,7 @@ static int codec_node_dev_name(struct device_node *np, char *buf, size_t len)
267 if (!i2c) 267 if (!i2c)
268 return -ENODEV; 268 return -ENODEV;
269 269
270 snprintf(buf, len, "%s-codec.%u-%04x", temp, i2c->adapter->nr, addr); 270 snprintf(buf, len, "%s.%u-%04x", temp, i2c->adapter->nr, addr);
271 271
272 return 0; 272 return 0;
273} 273}
diff --git a/sound/soc/pxa/raumfeld.c b/sound/soc/pxa/raumfeld.c
index ba1545188ec6..083706595495 100644
--- a/sound/soc/pxa/raumfeld.c
+++ b/sound/soc/pxa/raumfeld.c
@@ -232,7 +232,7 @@ static struct snd_soc_ops raumfeld_ak4104_ops = {
232 .cpu_dai_name = "pxa-ssp-dai.0", \ 232 .cpu_dai_name = "pxa-ssp-dai.0", \
233 .platform_name = "pxa-pcm-audio", \ 233 .platform_name = "pxa-pcm-audio", \
234 .codec_dai_name = "cs4270-hifi", \ 234 .codec_dai_name = "cs4270-hifi", \
235 .codec_name = "cs4270-codec.0-0048", \ 235 .codec_name = "cs4270.0-0048", \
236 .ops = &raumfeld_cs4270_ops, \ 236 .ops = &raumfeld_cs4270_ops, \
237} 237}
238 238