Skip to content

gpio: acpi: modernize resource management using cleanup.h

Marco Scardovi linux-acpi linux-gpio lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 4 repliesIn review
  2. v36 patches 1 replySuperseded
  3. v2 posting 2/23 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/20 of 3 patches1 replySuperseded
v11 patch2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ACPI: Move DEFINE_FREE(acpi_free) to global headerinclude/linux/acpi.h+2 -01 reply
2/6gpiolib: Move DEFINE_FREE(free_gpio_desc) to driver headerinclude/linux/gpio/driver.h+2 -00 replies
3/6gpio: acpi: ignore out-of-range pins in acpi_gpiochip_alloc_event()drivers/gpio/gpiolib-acpi-core.c+5 -00 replies
4/6gpio: acpi: use guard(mutex) for conn_lockdrivers/gpio/gpiolib-acpi-core.c+3 -70 replies
5/6gpio: acpi: use cleanup.h for automated resource deallocationdrivers/gpio/gpiolib-acpi-core.c+14 -261 reply
6/6gpio: acpi: sort header inclusion alphabeticallydrivers/gpio/gpiolib-acpi-core.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/6] gpio: acpi: modernize resource management using cleanup.h

Hi Andy,
as requested I've added the missing Signed-off-by and related commits' messages. Let me know if it's everything alright now.

Marco Scardovi (6):
ACPI: Move DEFINE_FREE(acpi_free) to global header
gpiolib: Move DEFINE_FREE(free_gpio_desc) to driver header
gpio: acpi: ignore out-of-range pins in acpi_gpiochip_alloc_event()
gpio: acpi: use guard(mutex) for conn_lock
gpio: acpi: use cleanup.h for automated resource deallocation
gpio: acpi: sort header inclusion alphabetically

 drivers/gpio/gpiolib-acpi-core.c | 57 ++++++++++++++------------------
 include/linux/acpi.h             |  2 ++
 include/linux/gpio/driver.h      |  2 ++
 3 files changed, 28 insertions(+), 33 deletions(-)
Signature · 1 line
2.54.0