ASoC: da7218: Drop CONFIG_OF ifdef
authorStephen Boyd <swboyd@chromium.org>
Tue, 2 Feb 2021 19:20:16 +0000 (11:20 -0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Feb 2021 18:45:19 +0000 (18:45 +0000)
commit0dd4d3e8c3a8ab63e9368e01d7839afad7b804c7
tree4e7ab47396c72730c87caa2f79257f6296595637
parent1c4273a5b1273028f7c694724c001d9dea253ed9
ASoC: da7218: Drop CONFIG_OF ifdef

This reverts commit a06cd8cf97a3 ("ASoC: da7218: skip of_device_id table
when !CONFIG_OF") because we want to make of_match_device() stop using
of_match_ptr() internally, confusing compilers and causing ifdef
pollution.

Reported-by: kernel test robot <lkp@intel.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210202192016.49028-1-swboyd@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7218.c