summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tlv320aic23-spi.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-01-29 04:12:48 +0000
committerMark Brown <broonie@kernel.org>2018-02-12 09:51:51 +0000
commitff06ac2a0489cfe913215d424667b52ad6c0fba1 (patch)
treed5bce0784d2d59b6f2671122fee5fbda097c4000 /sound/soc/codecs/tlv320aic23-spi.c
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
ASoC: tlv320aic23: replace codec to component
Now we can replace Codec to Component. Let's do it. Note: xxx_codec_xxx() -> xxx_component_xxx() .idle_bias_off = 0 -> .idle_bias_on = 1 .ignore_pmdown_time = 0 -> .use_pmdown_time = 1 - -> .endianness = 1 - -> .non_legacy_dai_naming = 1 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tlv320aic23-spi.c')
-rw-r--r--sound/soc/codecs/tlv320aic23-spi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/tlv320aic23-spi.c b/sound/soc/codecs/tlv320aic23-spi.c
index f801ae051658..d8c9ec1e9201 100644
--- a/sound/soc/codecs/tlv320aic23-spi.c
+++ b/sound/soc/codecs/tlv320aic23-spi.c
@@ -34,18 +34,11 @@ static int aic23_spi_probe(struct spi_device *spi)
return tlv320aic23_probe(&spi->dev, regmap);
}
-static int aic23_spi_remove(struct spi_device *spi)
-{
- snd_soc_unregister_codec(&spi->dev);
- return 0;
-}
-
static struct spi_driver aic23_spi = {
.driver = {
.name = "tlv320aic23",
},
.probe = aic23_spi_probe,
- .remove = aic23_spi_remove,
};
module_spi_driver(aic23_spi);