summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorMika Westerberg2013-01-11 22:08:09 +0100
committerRafael J. Wysocki2013-01-11 22:08:09 +0100
commitabe99210e0f624cea39f1dc375ba818b201c0d7f (patch)
tree55b88ba9c086d04fb7534ed10147f012cc1076f6 /include/acpi/acpi_bus.h
parentACPI / scan: Treat power resources in a special way (diff)
downloadkernel-qcow2-linux-abe99210e0f624cea39f1dc375ba818b201c0d7f.tar.gz
kernel-qcow2-linux-abe99210e0f624cea39f1dc375ba818b201c0d7f.tar.xz
kernel-qcow2-linux-abe99210e0f624cea39f1dc375ba818b201c0d7f.zip
ACPI / scan: Fix check of device_attach() return value.
Since device_attach() returns 1 on success (a driver has been bound to the device), the check against its return value in acpi_bus_device_attach() should modified to take that into accout. Make it so. [rjw: Subject and changelog.] Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
0 files changed, 0 insertions, 0 deletions