commit | abe99210e0f624cea39f1dc375ba818b201c0d7f | [log] [tgz] |
---|---|---|
author | Mika Westerberg <mika.westerberg@linux.intel.com> | Fri Jan 11 22:08:09 2013 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Jan 11 22:08:09 2013 +0100 |
tree | 55b88ba9c086d04fb7534ed10147f012cc1076f6 | |
parent | f95988de06ea62ef5bd861f06e9ef56cea405ed1 [diff] |
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>