Re: [PATCH 0/3] ACPI / bind: Use struct acpi_device pointers insteadof ACPI handles

From: Lan Tianyu
Date: Thu Nov 28 2013 - 21:23:29 EST


On 2013å11æ29æ 08:36, Rafael J. Wysocki wrote:
> Hi,
>
> Now that we store a pointer to struct acpi_device as the ACPI companion in
> struct device, the code making associations between "physical" devices and
> ACPI device objects can be modified to work with struct acpi_device pointers
> instead of ACPI handles too. The first two of the following patches make these
> changes and the third one is just a related cleanup.
>
> [1/3] ACPI / bind: Replace .find_device in struct acpi_bus_type with .find_companion
> [2/3] ACPI / bind: Modify acpi_bind_one() to take a struct acpi_device pointer as
> the second argument.
> [3/3] ACPI / bind: Move acpi_get_child() to ide-acpi.c which is the only remaining
> user of that function.
>

Test usb/ACPI bind part, it works normally.

Tested-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>

> The patches are on top of linux-pm.git/linux-next. Please let me know if you see
> any problems in them.
>
> Thanks!
>


--
Best regards
Tianyu Lan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/