mbox series

[GIT,PULL] gpio: immutable branch between the GPIO and pinctrl trees for v6.8-rc1

Message ID 20231208083650.25015-1-brgl@bgdev.pl
State New
Headers show
Series [GIT,PULL] gpio: immutable branch between the GPIO and pinctrl trees for v6.8-rc1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio-remove-gpiochip_is_requested-for-v6.8-rc1

Message

Bartosz Golaszewski Dec. 8, 2023, 8:36 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Linus, Andy,

Please pull the following changes into your trees for the next merge window.
These are the patches providing a safer alternative for gpiochip_is_requested()
before we rework the locking in GPIOLIB.

Bart

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio-remove-gpiochip_is_requested-for-v6.8-rc1

for you to fetch changes up to f8d05e276b45e3097dfddd628fa991ce69c05c99:

  gpiolib: remove gpiochip_is_requested() (2023-12-08 09:26:43 +0100)

----------------------------------------------------------------
gpio: remove gpiochip_is_requested()

- provide a safer alternative to gpiochip_is_requested()
- convert all existing users
- remove gpiochip_is_requested()

----------------------------------------------------------------
Bartosz Golaszewski (10):
      gpiolib: provide gpiochip_dup_line_label()
      gpio: wm831x: use gpiochip_dup_line_label()
      gpio: wm8994: use gpiochip_dup_line_label()
      gpio: stmpe: use gpiochip_dup_line_label()
      pinctrl: abx500: use gpiochip_dup_line_label()
      pinctrl: nomadik: use gpiochip_dup_line_label()
      pinctrl: baytrail: use gpiochip_dup_line_label()
      pinctrl: sppctl: use gpiochip_dup_line_label()
      gpiolib: use gpiochip_dup_line_label() in for_each helpers
      gpiolib: remove gpiochip_is_requested()

 drivers/gpio/gpio-stmpe.c                 |  6 ++++-
 drivers/gpio/gpio-wm831x.c                | 14 +++++++----
 drivers/gpio/gpio-wm8994.c                | 13 +++++++----
 drivers/gpio/gpiolib.c                    | 35 ++++++++++++++++-----------
 drivers/pinctrl/intel/pinctrl-baytrail.c  | 11 +++++----
 drivers/pinctrl/nomadik/pinctrl-abx500.c  |  9 +++++--
 drivers/pinctrl/nomadik/pinctrl-nomadik.c |  6 ++++-
 drivers/pinctrl/sunplus/sppctl.c          | 10 ++++----
 include/linux/gpio/driver.h               | 39 ++++++++++++++++++++++++-------
 9 files changed, 96 insertions(+), 47 deletions(-)

Comments

Linus Walleij Dec. 11, 2023, 11:46 p.m. UTC | #1
On Fri, Dec 8, 2023 at 9:37 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Linus, Andy,
>
> Please pull the following changes into your trees for the next merge window.
> These are the patches providing a safer alternative for gpiochip_is_requested()
> before we rework the locking in GPIOLIB.

I pulled this into the pin control devel branch.

Yours,
Linus Walleij