There are few users outside of ACPI realm that re-introduce a custom solution to match ACPI device against HID/UID. Add a generic helper for them. The series is supposed to go via linux-pm tree. In v3: - correct logic in sdhci-acpi for qcom devices (Adrian) - add Mika's Ack In v2: - add patch 2 due to latent issue in the header (lkp) - get rid of match_hid_uid() completely in patch 6 Andy Shevchenko (6): ACPI / utils: Describe function parameters in kernel-doc ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI ACPI / utils: Introduce acpi_dev_hid_uid_match() helper ACPI / LPSS: Switch to use acpi_dev_hid_uid_match() mmc: sdhci-acpi: Switch to use acpi_dev_hid_uid_match() iommu/amd: Switch to use acpi_dev_hid_uid_match() drivers/acpi/acpi_lpss.c | 21 +++------------ drivers/acpi/utils.c | 32 +++++++++++++++++++++++ drivers/iommu/amd_iommu.c | 30 ++++----------------- drivers/mmc/host/sdhci-acpi.c | 49 ++++++++++++----------------------- include/acpi/acpi_bus.h | 8 +++--- include/linux/acpi.h | 6 +++++ 6 files changed, 67 insertions(+), 79 deletions(-) -- 2.23.0