ACPI: Check for any matching CID when walking namespace.
authorAndrew Patterson <andrew.patterson@hp.com>
Wed, 23 Jan 2008 00:18:22 +0000 (17:18 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 23 Jan 2008 19:43:44 +0000 (14:43 -0500)
commit02f8a8586574350a1f3c2cee79cbc0faf630961d
tree9f8f3d5111f656deb8f64a97b5d55d0711c9216c
parentcbd9c883696da72b2b1f03f909dbacc04bbf8b58
ACPI: Check for any matching CID when walking namespace.

The callback function acpi_ns_get_device_callback called from
acpi_get_devices() will check CID's if the HID does not match.  This code
has a bug where it requires that all CIDs match the HID. Changed the code
so that any CID match will do.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/namespace/nsxfeval.c