From: Rafael J. Wysocki Date: Fri, 4 Jan 2013 22:00:54 +0000 (+0100) Subject: ACPI / scan: Do not use dummy HID for system bus ACPI nodes X-Git-Tag: v3.2.37~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fadfad5b4e36f2b9832603e7179423998487f962;p=pandora-kernel.git ACPI / scan: Do not use dummy HID for system bus ACPI nodes commit 4f5f64cf0cc916220aaa055992e31195470cfe37 upstream. At one point acpi_device_set_id() checks if acpi_device_hid(device) returns NULL, but that never happens, so system bus devices with an empty list of PNP IDs are given the dummy HID ("device") instead of the "system bus HID" ("LNXSYBUS"). Fix the code to use the right check. Signed-off-by: Rafael J. Wysocki Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed