]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d9d84363c6f156a8ed7713ebaf0d23e5664da38
tree3b75a7f48087d166f630192af6b0efc82cc91930
parentafebb3b6eba68de237914a6c7b077cc24bf6e2b6
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