Skip to content

ACPI: Reorganize the core device management/enumeration code

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI / scan: Mode sysfs-related device code to a separate filedrivers/acpi/Makefile drivers/acpi/device_sysfs.c drivers/acpi/internal.h +1 more+532 -4830 replies
2/4ACPI / scan: Mode device matching code to bus.cdrivers/acpi/bus.c drivers/acpi/scan.c+194 -1890 replies
3/4ACPI / scan: Mode bus operations and notification routines to bus.cdrivers/acpi/bus.c drivers/acpi/scan.c+184 -1830 replies
4/4ACPI / bus: Move ACPI bus type registrationdrivers/acpi/bus.c drivers/acpi/scan.c+3 -70 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMika Westerberg
SeriesR-b
1/4
2/4
3/4
4/4

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/4] ACPI: Reorganize the core device management/enumeration code

Hi,

The size and complexity of drivers/acpi/scan.c has bothered me for quite a while and since I'm working on a feature that will benefit from exposing some additional information under ACPI device objects in sysfs, I've decided to reorganize the code to move some things out of scan.c.

[1/4] Move all ACPI device code related to sysfs into a separate (new) file. [2/4] Move device matching code to bus.c.
[3/4] Mode device notification, bus operations and driver management code to bus.c. [4/4] Register the ACPI bus type in acpi_bus_init().

No functional changes except for the [4/4] that will case ACPI to be disabled if the ACPI bus type cannot be registered.

Thanks!

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