[PATCH 0/3] pinctrl: da9062: don't pull in internal GPIOLIB headers

From: Bartosz Golaszewski
Date: Fri Sep 01 2023 - 07:29:40 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

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(-)

--
2.39.2