ASoC: adau1977: remove platform data and move micbias bindings include
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Mon, 19 Oct 2020 10:53:13 +0000 (13:53 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 26 Oct 2020 18:37:03 +0000 (18:37 +0000)
commitab589bac553f79d559952aa088480a72258ac5bc
tree3b75a7f48087d166f630192af6b0efc82cc91930
parent76b5f68bbf7df9343b69fbee04d5edf50680c231
ASoC: adau1977: remove platform data and move micbias bindings include

The change removes the platform_data include/definition. It only contains
some values for the MICBIAS.
These are moved into 'dt-bindings/sound/adi,adau1977.h' so that they can be
used inside device-trees. When moving then, they need to be converted to
pre-compiler defines, so that the DT compiler can understand them.

The driver then, also needs to include the new
'dt-bindings/sound/adi,adau1977.h' file.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201019105313.24862-1-alexandru.ardelean@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/dt-bindings/sound/adi,adau1977.h [new file with mode: 0644]
include/linux/platform_data/adau1977.h [deleted file]
sound/soc/codecs/adau1977.c