aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42xx8-i2c.c
diff options
context:
space:
mode:
authorGravatar Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 2018-01-29 03:56:58 +0000
committerGravatar Mark Brown <broonie@kernel.org> 2018-02-12 09:47:10 +0000
commit99a9f452093e40f82e51a2f49d95ee3c04ad298b (patch)
tree4048d29a07c2e54b8e76cb5194f6b2fda78d7764 /sound/soc/codecs/cs42xx8-i2c.c
parentLinux 4.16-rc1 (diff)
downloadlinux-99a9f452093e40f82e51a2f49d95ee3c04ad298b.tar.gz
linux-99a9f452093e40f82e51a2f49d95ee3c04ad298b.tar.bz2
linux-99a9f452093e40f82e51a2f49d95ee3c04ad298b.zip
ASoC: cs42xx8: 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 = 1 -> .idle_bias_on = 0 .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/cs42xx8-i2c.c')
-rw-r--r--sound/soc/codecs/cs42xx8-i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42xx8-i2c.c b/sound/soc/codecs/cs42xx8-i2c.c
index 800c1d549347..0214e3ab9da0 100644
--- a/sound/soc/codecs/cs42xx8-i2c.c
+++ b/sound/soc/codecs/cs42xx8-i2c.c
@@ -33,7 +33,6 @@ static int cs42xx8_i2c_probe(struct i2c_client *i2c,
static int cs42xx8_i2c_remove(struct i2c_client *i2c)
{
- snd_soc_unregister_codec(&i2c->dev);
pm_runtime_disable(&i2c->dev);
return 0;