diff options
author | Irina Tirdea | 2016-03-13 03:02:58 +0200 |
---|---|---|
committer | Lee Jones | 2016-04-11 13:31:40 +0100 |
commit | ee414de525a9abf29e8a1b0c1b6f79f9e875213a (patch) | |
tree | eaaf0ac0265e516cf0a7b2a87808d2c33be81659 /include/linux/mfd | |
parent | 9caac886397bdfd6c1a6b48493db6cd95bce313c (diff) |
mfd: core: Fix ACPI child matching by _HID/_CID
If MDF child devices have separate ACPI nodes identified
by _HID/_CID, they will not be assigned the intended
ACPI companion.
acpi_match_device_ids will return 0 if a the child device
matches the _HID/_CID, so this patch changes the matching
condition to check for 0 on success.
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Acked-by: Mika Westerberg <mika.westeberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
0 files changed, 0 insertions, 0 deletions