Skip to content

gpiolib: acpi: Split quirks to its own file

Andy Shevchenko linux-acpi linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4gpiolib: acpi: Switch to use enum in acpi_gpio_in_ignore_list()drivers/gpio/gpiolib-acpi.c drivers/gpio/gpiolib-acpi.h+24 -50 replies
2/4gpiolib: acpi: Handle deferred list via new APIdrivers/gpio/gpiolib-acpi.c drivers/gpio/gpiolib-acpi.h+37 -200 replies
3/4gpiolib: acpi: Add acpi_gpio_need_run_edge_events_on_boot() getterdrivers/gpio/gpiolib-acpi.c drivers/gpio/gpiolib-acpi.h+8 -10 replies
4/4gpiolib: acpi: Move quirks to a separate filedrivers/gpio/Makefile drivers/gpio/gpiolib-acpi-core.c drivers/gpio/gpiolib-acpi-quirks.c+364 -3460 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.

PatchHans de GoedeMika Westerberg
SeriesR-b A-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 v1 0/4] gpiolib: acpi: Split quirks to its own file

The GPIO ACPI helpers use a few quirks which consumes approximately 20% of the file. Besides that the necessary bits are sparse and being directly referred. Split them to a separate file. There is no functional change.

For the new file I used the Hans' authorship of Hans as he the author of all those bits (expect very tiny changes made by this series).

Hans, please check if it's okay and confirm, or suggest better alternative.

Andy Shevchenko (4):
gpiolib: acpi: Switch to use enum in acpi_gpio_in_ignore_list()
gpiolib: acpi: Handle deferred list via new API
gpiolib: acpi: Add acpi_gpio_need_run_edge_events_on_boot() getter
gpiolib: acpi: Move quirks to a separate file

 drivers/gpio/Makefile                         |   1 +
 .../{gpiolib-acpi.c => gpiolib-acpi-core.c}   | 344 +----------------
 drivers/gpio/gpiolib-acpi-quirks.c            | 363 ++++++++++++++++++
 drivers/gpio/gpiolib-acpi.h                   |  15 +
 4 files changed, 392 insertions(+), 331 deletions(-)
 rename drivers/gpio/{gpiolib-acpi.c => gpiolib-acpi-core.c} (79%)
 create mode 100644 drivers/gpio/gpiolib-acpi-quirks.c
Signature · 1 line
2.47.2