ACPI: use acpi_device_hid() when possible
commitea8d82fd316208bd0ffe6f64823d04bcb8c57158
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:35:09 +0000 (21 13:35 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 18:25:52 +0000 (25 14:25 -0400)
tree56b6edb6f6b9173230118127b898e2964403a118
parent78b8e141f8458ba0b8ac53c45bc327112c53887e
ACPI: use acpi_device_hid() when possible

Use acpi_device_hid() rather than accessing acpi_device.pnp.hardware_id
directly.

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