ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header
authorHans de Goede <hdegoede@redhat.com>
Mon, 18 Oct 2021 14:33:22 +0000 (16:33 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 19 Oct 2021 15:31:24 +0000 (17:31 +0200)
commitcd45c9bf8b43cd387e167cf166ae5c517f56d658
treef4c235ebdd6db17e020de50f5ed645e8f75157e8
parentfd96e35ea7b95f1e216277805be89d66e4ae962d
ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header

The soc_intel_is_foo() helpers from
sound/soc/intel/common/soc-intel-quirks.h are useful outside of the
sound subsystem too.

Move these to include/linux/platform_data/x86/soc.h, so that
other code can use them too.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211018143324.296961-2-hdegoede@redhat.com
include/linux/platform_data/x86/soc.h [new file with mode: 0644]
sound/soc/intel/common/soc-intel-quirks.h