]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPI / utils: Introduce acpi_dev_hid_uid_match() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 1 Oct 2019 14:27:22 +0000 (17:27 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2019 10:06:23 +0000 (12:06 +0200)
commit35009c807488ccd5a01cbf102033695e52794b68
tree6a2775611a87926f1b74be76e1c519ec8cc5a0ff
parenta814dcc269830c9dbb8a83731cfc6fc5dd787f8d
ACPI / utils: Introduce acpi_dev_hid_uid_match() helper

There are users outside of ACPI realm which reimplementing the comparator
function to check if the given device matches to given HID and UID.

For better utilization, introduce a helper for everyone to use.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/utils.c
include/acpi/acpi_bus.h
include/linux/acpi.h