aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-29 09:10:42 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-31 04:52:24 -0400
commit1e3ad571d56ab96e5fab87cea71c0e657d4708cb (patch)
treeed463f9e21089e463aa1d1ba1ea28f85c5517ffa
parent9a810e959bbff538dea30f27b261a5c4346b4cc7 (diff)
ASoC: Remove redundant -codec from WM8776 driver name
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Timur Tabi <timur@freescale.com>
-rw-r--r--sound/soc/codecs/wm8776.c4
-rw-r--r--sound/soc/fsl/p1022_ds.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c
index 8e7953b1b790..367a990e6cc4 100644
--- a/sound/soc/codecs/wm8776.c
+++ b/sound/soc/codecs/wm8776.c
@@ -481,7 +481,7 @@ static int __devexit wm8776_spi_remove(struct spi_device *spi)
481 481
482static struct spi_driver wm8776_spi_driver = { 482static struct spi_driver wm8776_spi_driver = {
483 .driver = { 483 .driver = {
484 .name = "wm8776-codec", 484 .name = "wm8776",
485 .owner = THIS_MODULE, 485 .owner = THIS_MODULE,
486 }, 486 },
487 .probe = wm8776_spi_probe, 487 .probe = wm8776_spi_probe,
@@ -525,7 +525,7 @@ MODULE_DEVICE_TABLE(i2c, wm8776_i2c_id);
525 525
526static struct i2c_driver wm8776_i2c_driver = { 526static struct i2c_driver wm8776_i2c_driver = {
527 .driver = { 527 .driver = {
528 .name = "wm8776-codec", 528 .name = "wm8776",
529 .owner = THIS_MODULE, 529 .owner = THIS_MODULE,
530 }, 530 },
531 .probe = wm8776_i2c_probe, 531 .probe = wm8776_i2c_probe,
diff --git a/sound/soc/fsl/p1022_ds.c b/sound/soc/fsl/p1022_ds.c
index fcb862eb0c73..e8849ed36cbd 100644
--- a/sound/soc/fsl/p1022_ds.c
+++ b/sound/soc/fsl/p1022_ds.c
@@ -267,7 +267,7 @@ static int codec_node_dev_name(struct device_node *np, char *buf, size_t len)
267 if (bus < 0) 267 if (bus < 0)
268 return bus; 268 return bus;
269 269
270 snprintf(buf, len, "%s-codec.%u-%04x", temp, bus, addr); 270 snprintf(buf, len, "%s.%u-%04x", temp, bus, addr);
271 271
272 return 0; 272 return 0;
273} 273}