ACPI: fix synthetic HID for \_SB_
commit78b8e141f8458ba0b8ac53c45bc327112c53887e
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 21 Sep 2009 19:35:04 +0000 (21 13:35 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 25 Sep 2009 18:25:29 +0000 (25 14:25 -0400)
treecd8e3264d85f7bf57946697384a9fead97b84f44
parente3b87f8a9d5a61f6367c66d1bb0a4e19d251194d
ACPI: fix synthetic HID for \_SB_

This makes \_SB_ show up as /sys/devices/LNXSYSTM:00/LNXSYBUS:00
rather than "device:00".  This has been broken for a loooong time
(at least since 2.6.13) because device->parent is an acpi_device
pointer, not a handle.

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