acpi: remove modular references from non modular code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drivers/acpi: make bgrt driver explicitly non-modulardrivers/ | +3 | 0 replies | |
| 2/3 | drivers/acpi: make apei/ghes.c more explicitly non-modulardrivers/ | +7 | 0 replies | |
| 3/3 | drivers/acpi: make pmic/intel_pmic_crc.c explicitly non-modulardrivers/ | +2 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Aaron Lu |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] acpi: remove modular references from non modular code
An audit of i386/x86_64 allmodconfig builds found these instances of non-modular ACPI code needlessly using the modular equivalents of their built-in counterparts.
In fixing that, we get rid of some dead code, make the mandate of the remaining code more clear, and leave behind better examples for future ACPI code to copy/emulate.
Two of them are trivial, in that there is no binary output change. The other has dead code removal so the binary output will be
slightly smaller. We've done a direct mapping of module_init todevice_initcall in each instance, so there is no initcall reordering risks here. Overall, in all cases, the runtime should be completely unchanged.
Where others have deployed module_param() already, we have to leave it, because there is no equivalent builtin_param (not yet) and we have to remain compatible with existing bootarg users.
Paul.
---
Paul Gortmaker (3):
drivers/acpi: make bgrt driver explicitly non-modular drivers/acpi: make apei/ghes.c more explicitly non-modular drivers/acpi: make pmic/intel_pmic_crc.c explicitly non-modular
drivers/acpi/apei/ghes.c | 23 +++++++---------------- drivers/acpi/bgrt.c | 10 +++------- drivers/acpi/pmic/intel_pmic_crc.c | 7 ++----- 3 files changed, 12 insertions(+), 28 deletions(-)
Signature · 1 line
2.6.1