ACPI: use device_type rather than comparing HID
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:29:15 +0000 (19:29 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 18:24:25 +0000 (14:24 -0400)
commitccba2a36d74a9da815e597ac727cfd096fa8e750
tree2fc51fdcf0cc3e7fefcf35b6d25da2f7edede24c
parentcaaa6efb3d82d0102db9e7094ca5773c46e6780c
ACPI: use device_type rather than comparing HID

Check the acpi_device device_type rather than the HID.

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