ACPI: processor: check for synthetic _HID, default to "Device" declaration
commit6cc73b4806c07b4207780f6d85c456b4c5b29d71
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 27 Apr 2009 22:33:41 +0000 (27 16:33 -0600)
committerLen Brown <len.brown@intel.com>
Thu, 28 May 2009 01:14:03 +0000 (27 21:14 -0400)
tree1272026397edf3fdf44d0d2ed03da831dba6b1bf
parentb9417f84e17b93a6976a8a88b38bf9567975cb38
ACPI: processor: check for synthetic _HID, default to "Device" declaration

This patch inverts the logic that distinguishes "Processor" statements
from "Device" statements, so we now check explicitly for "Processor" and
default to "Device".  This removes the only real use of ACPI_PROCESSOR_HID,
so we can then remove the #define.  It also has the theoretical advantage
that if a new processor _HID were ever added, we wouldn't have to change
the code here.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c