Skip to content

Commit

Permalink
ASoC: Remove redundant -codec from WM8776 driver name
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Timur Tabi <timur@freescale.com>
  • Loading branch information
Mark Brown committed Aug 31, 2011
1 parent 9a810e9 commit 1e3ad57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/wm8776.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ static int __devexit wm8776_spi_remove(struct spi_device *spi)

static struct spi_driver wm8776_spi_driver = {
.driver = {
.name = "wm8776-codec",
.name = "wm8776",
.owner = THIS_MODULE,
},
.probe = wm8776_spi_probe,
Expand Down Expand Up @@ -525,7 +525,7 @@ MODULE_DEVICE_TABLE(i2c, wm8776_i2c_id);

static struct i2c_driver wm8776_i2c_driver = {
.driver = {
.name = "wm8776-codec",
.name = "wm8776",
.owner = THIS_MODULE,
},
.probe = wm8776_i2c_probe,
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/fsl/p1022_ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ static int codec_node_dev_name(struct device_node *np, char *buf, size_t len)
if (bus < 0)
return bus;

snprintf(buf, len, "%s-codec.%u-%04x", temp, bus, addr);
snprintf(buf, len, "%s.%u-%04x", temp, bus, addr);

return 0;
}
Expand Down

0 comments on commit 1e3ad57

Please sign in to comment.