diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-01-29 05:32:55 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-12 11:00:05 +0100 |
commit | da4ce5607149ace4bb61af4a4910bab1dcf20a19 (patch) | |
tree | 842e87290cd9d75466f8287b175d97ba0c86907f /sound/soc/codecs/es8328-i2c.c | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-da4ce5607149ace4bb61af4a4910bab1dcf20a19.tar.xz linux-da4ce5607149ace4bb61af4a4910bab1dcf20a19.zip |
ASoC: es8328: 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/es8328-i2c.c')
-rw-r--r-- | sound/soc/codecs/es8328-i2c.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/es8328-i2c.c b/sound/soc/codecs/es8328-i2c.c index 318ab28c5351..19baa3260f85 100644 --- a/sound/soc/codecs/es8328-i2c.c +++ b/sound/soc/codecs/es8328-i2c.c @@ -39,19 +39,12 @@ static int es8328_i2c_probe(struct i2c_client *i2c, devm_regmap_init_i2c(i2c, &es8328_regmap_config)); } -static int es8328_i2c_remove(struct i2c_client *i2c) -{ - snd_soc_unregister_codec(&i2c->dev); - return 0; -} - static struct i2c_driver es8328_i2c_driver = { .driver = { .name = "es8328", .of_match_table = es8328_of_match, }, .probe = es8328_i2c_probe, - .remove = es8328_i2c_remove, .id_table = es8328_id, }; |