ACPI: Introduce helper function acpi_dev_filter_resource_type()
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 2 Feb 2015 02:43:01 +0000 (10:43 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 21:27:23 +0000 (22:27 +0100)
commit62d1141ff34e35de496ba06491c8e854b23b3f3e
tree597c240e33d2b97579fa60f7141a29e727f66b48
parent93286f4798590e711aa395503401f8632fb74f9a
ACPI: Introduce helper function acpi_dev_filter_resource_type()

Introduce helper function acpi_dev_filter_resource_type(), which may
be used by acpi_dev_get_resources() to filer out resource based on
resource type.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c
include/linux/acpi.h