diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-10 16:07:38 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-10 16:07:38 +0200 |
commit | e1acdeb0e7707f4220aa14ad6739102ba26e07c0 (patch) | |
tree | 0e490a9700e90f3c8fbb5f1e46b1d24b71649737 /drivers/acpi/sysfs.c | |
parent | 54fe9ce385d499fe5a2bb0c68f092c97dad9365c (diff) |
ACPI / scan: Simplify acpi_match_device()
Redefine acpi_companion_match() to return an ACPI device object
pointer instead of a bool and use it to remove some redundant code
from acpi_match_device().
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/acpi/sysfs.c')
0 files changed, 0 insertions, 0 deletions