Commit 1e3ad571 authored by Mark Brown's avatar Mark Brown

ASoC: Remove redundant -codec from WM8776 driver name

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarTimur Tabi <timur@freescale.com>
parent 9a810e95
......@@ -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,
......@@ -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,
......
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment