mbox series

[v1,0/6] gpio: Get rid of deprecated GPIOF_ACTIVE_LOW

Message ID 20241104093609.156059-1-andriy.shevchenko@linux.intel.com
Headers show
Series gpio: Get rid of deprecated GPIOF_ACTIVE_LOW | expand

Message

Andy Shevchenko Nov. 4, 2024, 9:34 a.m. UTC
This series targets the deprecated GPIOF_ACTIVE_LOW as only a few users
left. Convert those users to call modern APIs and drop this legacy piece
from the source tree.

The idea is to route this via GPIO tree, please Ack.

Andy Shevchenko (6):
  Input: gpio_keys - avoid using GPIOF_ACTIVE_LOW
  Input: gpio_keys_polled - avoid using GPIOF_ACTIVE_LOW
  leds: gpio: Avoid using GPIOF_ACTIVE_LOW
  pcmcia: soc_common: Avoid using GPIOF_ACTIVE_LOW
  USB: gadget: pxa27x_udc: Avoid using GPIOF_ACTIVE_LOW
  gpio: Get rid of GPIOF_ACTIVE_LOW

 drivers/gpio/gpiolib-legacy.c             |  3 ---
 drivers/input/keyboard/gpio_keys.c        | 10 ++++------
 drivers/input/keyboard/gpio_keys_polled.c | 12 +++++-------
 drivers/leds/leds-gpio.c                  |  9 ++++-----
 drivers/pcmcia/soc_common.c               | 12 +++++-------
 drivers/usb/gadget/udc/pxa27x_udc.c       |  7 ++++---
 include/linux/gpio.h                      |  3 ---
 7 files changed, 22 insertions(+), 34 deletions(-)

Comments

Andy Shevchenko Nov. 6, 2024, 11:15 a.m. UTC | #1
On Mon, Nov 04, 2024 at 11:34:18AM +0200, Andy Shevchenko wrote:
> This series targets the deprecated GPIOF_ACTIVE_LOW as only a few users
> left. Convert those users to call modern APIs and drop this legacy piece
> from the source tree.
> 
> The idea is to route this via GPIO tree, please Ack.

Thank you for Acks, folks!

Dominik, is it possible to get yours or are you inactive nowadays (I saw
last mention of your name ca. 2023).

Bart, we have all Acks except pcmcia (see also above), and the change is
the same all over the places, do you think it's okay to apply if Dominik
won't respond for a few days?
Bartosz Golaszewski Nov. 9, 2024, 1:56 p.m. UTC | #2
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Mon, 04 Nov 2024 11:34:18 +0200, Andy Shevchenko wrote:
> This series targets the deprecated GPIOF_ACTIVE_LOW as only a few users
> left. Convert those users to call modern APIs and drop this legacy piece
> from the source tree.
> 
> The idea is to route this via GPIO tree, please Ack.
> 
> Andy Shevchenko (6):
>   Input: gpio_keys - avoid using GPIOF_ACTIVE_LOW
>   Input: gpio_keys_polled - avoid using GPIOF_ACTIVE_LOW
>   leds: gpio: Avoid using GPIOF_ACTIVE_LOW
>   pcmcia: soc_common: Avoid using GPIOF_ACTIVE_LOW
>   USB: gadget: pxa27x_udc: Avoid using GPIOF_ACTIVE_LOW
>   gpio: Get rid of GPIOF_ACTIVE_LOW
> 
> [...]

Applied, thanks!

[1/6] Input: gpio_keys - avoid using GPIOF_ACTIVE_LOW
      commit: a04abf25fb1ac47dd2bf1e1b7ca24ca78688b175
[2/6] Input: gpio_keys_polled - avoid using GPIOF_ACTIVE_LOW
      commit: 081aaf2dfcfa10fa5cb5444b77b154cce4355708
[3/6] leds: gpio: Avoid using GPIOF_ACTIVE_LOW
      commit: e6a2f0ea519fd2478920d02ce3de07a14fe36b2f
[4/6] pcmcia: soc_common: Avoid using GPIOF_ACTIVE_LOW
      commit: 15998583b19749e63c5cd0431a2517f524352762
[5/6] USB: gadget: pxa27x_udc: Avoid using GPIOF_ACTIVE_LOW
      commit: 62d2a940f29e6aa5a1d844a90820ca6240a99b34
[6/6] gpio: Get rid of GPIOF_ACTIVE_LOW
      commit: fffb9fff12250018a6f4d3e411f9d289210da329

Best regards,