ASoC: rt5677: Move platform code to board file
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Jun 2017 12:46:37 +0000 (15:46 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 16 Jun 2017 16:38:40 +0000 (17:38 +0100)
commit55e59aa0525a461abcbc226ace7a7eb9d9a07a4a
treed11831b3617fe5f52c9fea0b76075e3360a9e245
parenta36afb0ab6488eaa2c9672d6c20a966a7c08ef65
ASoC: rt5677: Move platform code to board file

GPIO ACPI mapping table is defined on platform basis. Codec driver
shouldn't have known what platform is using it.

Make codec driver more generic by moving platform code to where it
belongs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c
sound/soc/intel/boards/bdw-rt5677.c