ASoC: ac97: replace codec to component
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 29 Jan 2018 02:58:25 +0000 (02:58 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 12 Feb 2018 09:37:29 +0000 (09:37 +0000)
commitc95869e5c04fb0000370e7310dc892b417b8128a
tree763b95d1c497deb0d68d898d60bf7c8934d0f0a4
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: ac97: 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

To keep compatibilty, this patch adds snd_soc_xxx_ac97_codec()
macro. These will be removed when all codec code was removed.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/codecs/ac97.c
sound/soc/soc-ac97.c