ACPI: maintain a single list of _HID and _CID IDs
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:35:19 +0000 (13:35 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 19:09:31 +0000 (15:09 -0400)
commit7f47fa6c2ff15f5e59cdbb350f86faef6829294a
tree02167bcbc5e6fd4eee044798ef142ff604d8eab1
parentb1fbfb2ae8f2f0e04219218da6f52f7313466899
ACPI: maintain a single list of _HID and _CID IDs

There's no need to treat _HID and _CID differently.  Keeping them in
a single list makes code that uses the IDs a little simpler because it
can just traverse the list rather than checking "do we have a HID?",
"do we have any CIDs?"

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c
drivers/pnp/pnpacpi/core.c
include/acpi/acpi_bus.h