acpi_match_device(9)

acpi_match_device9

Match a struct device against a given list of acpi ids

Usage

const struct acpi_device_id * acpi_match_device(const struct acpi_device_id * ids, const struct device * dev);

Arguments

ids

Array of struct acpi_device_id object to match against.

dev

The device structure to match.

Overview

Check if dev has a valid ACPI handle and if there is a struct acpi_device object for that handle and use that object to match against a given list of device IDs.

Return a pointer to the first matching ID on success or NULL on failure.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.