1ACPI_MATCH_DEVICE(9)     Device drivers infrastructure    ACPI_MATCH_DEVICE(9)
2
3
4

NAME

6       acpi_match_device - Match a struct device against a given list of ACPI
7       IDs
8

SYNOPSIS

10       const struct acpi_device_id *
11                                                       acpi_match_device(const struct acpi_device_id * ids,
12                                                       const struct device * dev);
13

ARGUMENTS

15       ids
16           Array of struct acpi_device_id object to match against.
17
18       dev
19           The device structure to match.
20

DESCRIPTION

22       Check if dev has a valid ACPI handle and if there is a struct
23       acpi_device object for that handle and use that object to match against
24       a given list of device IDs.
25
26       Return a pointer to the first matching ID on success or NULL on
27       failure.
28
30Kernel Hackers Manual 3.10         June 2019              ACPI_MATCH_DEVICE(9)
Impressum