Skip to content

ACPI / bind: Use struct acpi_device pointers instead of ACPI handles

Rafael J. Wysocki linux-acpi linux-ide linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ACPI / bind: Rework struct acpi_bus_typedrivers/acpi/glue.c drivers/pci/pci-acpi.c drivers/pnp/pnpacpi/core.c +2 more+36 -492 replies
2/3ACPI / bind: Pass struct acpi_device pointer to acpi_bind_one()drivers/acpi/acpi_memhotplug.c drivers/acpi/acpi_processor.c drivers/acpi/glue.c +1 more+12 -160 replies
3/3ACPI / bind: Move acpi_get_child() to drivers/ide/ide-acpi.cdrivers/acpi/glue.c drivers/ide/ide-acpi.c include/acpi/acpi_bus.h+11 -130 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchLan Tianyu
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] ACPI / bind: Use struct acpi_device pointers instead of ACPI handles

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.

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

Thanks!

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.