diff options
author | Curtis Malainey <cujomalainey@chromium.org> | 2019-05-03 12:33:42 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-06 23:57:16 +0900 |
commit | b9960f6ea22da072c2fb27305a1a51517c3643fe (patch) | |
tree | 5b7dcc21790ef8c36e7c1e76c085472bbe76ff97 /sound/soc/codecs/rt5677-spi.c | |
parent | 53fdea9604fa1560bdbf418bbca564dbbebef211 (diff) | |
download | linux-b9960f6ea22da072c2fb27305a1a51517c3643fe.tar.gz linux-b9960f6ea22da072c2fb27305a1a51517c3643fe.tar.bz2 linux-b9960f6ea22da072c2fb27305a1a51517c3643fe.zip |
ASoC: rt5677-spi: Rename driver to differentiate from main codec
Currently the SPI driver and the main codec share the same name. This
will become confusing when looking up components when using both
drivers.
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5677-spi.c')
-rw-r--r-- | sound/soc/codecs/rt5677-spi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c index 167a02773a0b..1efc37ee625f 100644 --- a/sound/soc/codecs/rt5677-spi.c +++ b/sound/soc/codecs/rt5677-spi.c @@ -29,6 +29,8 @@ #include "rt5677-spi.h" +#define DRV_NAME "rt5677spi" + #define RT5677_SPI_BURST_LEN 240 #define RT5677_SPI_HEADER 5 #define RT5677_SPI_FREQ 6000000 @@ -235,7 +237,7 @@ MODULE_DEVICE_TABLE(acpi, rt5677_spi_acpi_id); static struct spi_driver rt5677_spi_driver = { .driver = { - .name = "rt5677", + .name = DRV_NAME, .acpi_match_table = ACPI_PTR(rt5677_spi_acpi_id), }, .probe = rt5677_spi_probe, |