[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251016-aspeed-gpiolib-include-v1-0-31201c06d124@linaro.org>
Date: Thu, 16 Oct 2025 11:09:24 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...econstruct.com.au>,
Kent Gibson <warthog618@...il.com>
Cc: linux-gpio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: [PATCH 0/3] gpio: aspeed: remove the "gpiolib.h" include
gpiolib.h is a header internal to the GPIO core. Drivers should not
include them. gpio-aspeed only needs to be able to determine the
hardware offset of the GPIO given the descriptor. Expose the relevant
symbol in the consumer header which allows us to stop pulling in the
private one.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
---
Bartosz Golaszewski (3):
gpio: rename gpio_chip_hwgpio() to gpiod_hwgpio()
gpio: export gpiod_hwgpio()
gpio: aspeed: remove unneeded include
drivers/gpio/gpio-aspeed.c | 7 +++--
drivers/gpio/gpiolib-cdev.c | 12 ++++-----
drivers/gpio/gpiolib-sysfs.c | 14 +++++-----
drivers/gpio/gpiolib.c | 59 ++++++++++++++++++++++++++-----------------
drivers/gpio/gpiolib.h | 8 ------
include/linux/gpio/consumer.h | 2 ++
6 files changed, 54 insertions(+), 48 deletions(-)
---
base-commit: 13863a59e410cab46d26751941980dc8f088b9b3
change-id: 20251015-aspeed-gpiolib-include-249a3529efd5
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists