From: Rafael J. Wysocki Date: Fri, 29 Nov 2013 15:27:34 +0000 (+0100) Subject: ACPI / bind: Rework struct acpi_bus_type X-Git-Tag: v3.14-rc1~107^2~11^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f02c5228c4b600abf6ca243301176f25553bd5;p=pandora-kernel.git ACPI / bind: Rework struct acpi_bus_type Replace the .find_device function pointer in struct acpi_bus_type with a new one, .find_companion, that is supposed to point to a function returning struct acpi_device pointer (instead of an int) and takes one argument (instead of two). This way the role of this callback is more clear and the implementation of it can be more straightforward. Update all of the users of struct acpi_bus_type (PCI, PNP/ACPI and USB) to reflect the structure change. Signed-off-by: Rafael J. Wysocki Tested-by: Lan Tianyu # for USB/ACPI --- Reading git-diff-tree failed