OSDN Git Service

ASoC: Replace snd_soc_acpi_check_hid with acpi_dev_present
authorJeremy Cline <jeremy@jcline.org>
Fri, 5 Jan 2018 20:55:34 +0000 (14:55 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 15:55:16 +0000 (15:55 +0000)
commit0d5ea120abc020fada1f7cb019ec37f13162e7af
tree3bb382943020a2bea50ca6205791df02bbad793f
parent498495dba268b20e8eadd7fe93c140c68b6cc9d2
ASoC: Replace snd_soc_acpi_check_hid with acpi_dev_present

Replace snd_soc_acpi_check_hid() with the generic acpi_dev_present()
and remove the now unused snd_soc_acpi_check_hid function. This should
have no functional change.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-acpi.h
sound/soc/soc-acpi.c