Skip to content

pinctrl: da9062: don't pull in internal GPIOLIB headers

Bartosz Golaszewski linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pinctrl: da9062: add missing includedrivers/pinctrl/pinctrl-da9062.c+1 -02 replies
2/3gpiolib: make gpiochip_get_desc() publicdrivers/gpio/gpiolib.h include/linux/gpio/driver.h+2 -20 replies
3/3pinctrl: da9062: don't include private GPIOLIB headerdrivers/pinctrl/pinctrl-da9062.c+0 -60 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoLinus Walleij
SeriesR-b
1/3A-b
2/3
3/3

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 0/3] pinctrl: da9062: don't pull in internal GPIOLIB headers

From: Bartosz Golaszewski <[email protected]>

I'm removing instances of users of internal GPIOLIB headers which should not be included by anyone but GPIO core code. The pinctrl-da9062 driver uses gpiochip_get_desc() which we should put into the gpio/driver.h header as it does sometimes make sense for GPIO providers to get its own descriptors without having to go through gpiochip_request_own_desc().

Bartosz Golaszewski (3):
pinctrl: da9062: add missing include
gpiolib: make gpiochip_get_desc() public
pinctrl: da9062: don't include private GPIOLIB header

 drivers/gpio/gpiolib.h           | 2 --
 drivers/pinctrl/pinctrl-da9062.c | 7 +------
 include/linux/gpio/driver.h      | 2 ++
 3 files changed, 3 insertions(+), 8 deletions(-)
Signature · 1 line
2.39.2