Hi Mark,
the acpi_dev_present() API has now landed in Linus' tree. Thus, after Linus' tree gets merged back into yours, it would be possible to use the API in the ASoC drivers as per the following patch.
I've also pushed it to GitHub in case anyone prefers perusing it in a browser: https://github.com/l1k/linux/commit/f9011bb760cf5296474191406116e989dd292bf0
v1 of this patch was originally submitted with: Message-Id: b7bd5f48fd254fb743b99d5c3e63f95ea8dfd8a7.1448282995.git.lukas@wunner.de Link: http://mailman.alsa-project.org/pipermail/alsa-devel/2015-November/100922.ht...
Thanks,
Lukas
Lukas Wunner (1): ASoC: Intel: Use acpi_dev_present()
sound/soc/intel/boards/cht_bsw_max98090_ti.c | 17 ++--------------- sound/soc/intel/boards/cht_bsw_rt5645.c | 13 +------------ sound/soc/intel/common/sst-match-acpi.c | 16 +--------------- 3 files changed, 4 insertions(+), 42 deletions(-)