]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66391ec44ed77785d602123c28fa33212dfd4770
tree02167bcbc5e6fd4eee044798ef142ff604d8eab1
parent041d0c3260fa6411f7c084ea1ab9b33862771aab
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