ACPI: improve modularity and remove initcalls
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ACPI: pci: make new pci.h header local to driverdrivers/ drivers/ drivers/ +2 more | +24 | 0 replies | |
| 2/4 | ACPI: processor: make new processor.h header local to driverdrivers/ drivers/ drivers/ +2 more | +11 | 0 replies | |
| 3/4 | ACPI: move internal core declaration to private headerdrivers/ drivers/ drivers/ +3 more | +28 | 0 replies | |
| 4/4 | ACPI: call core init functions explicitly instead of using initcallsdrivers/ drivers/ drivers/ +5 more | +45 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] ACPI: improve modularity and remove initcalls
I'm on a quest to improve modularity and remove initcalls.
When possible, we should avoid initcalls because the order they happen depends on the module link order, so innocuous makefile changes can break things.
Yakui, I think I addressed your comments about sysfs duplicate filenames (I think the link order dependency was removed by commit 9b473de87209fa86eb421b23386693b461612f30). But if not, let me know.
Len, instead of making drivers/acpi/acpi.h, I made a drivers/acpi/acpi_core.h. The things in there shouldn't be visible outside of drivers/acpi, so I don't really want to put them in include/acpi/acpi_drivers.h.
I also added new pci.h and processor.h header files in drivers/acpi for those drivers. You mentioned Bob's ongoing header clean-up, but I assume he's concentrating on the ACPI CA, whereas the ones I added are for Linux drivers.
Comments welcome.
Bjorn