[PATCH 0/3] gpio: aspeed: remove the "gpiolib.h" include

Linus Walleij linus.walleij at linaro.org
Tue Oct 21 08:18:32 AEDT 2025


On Thu, Oct 16, 2025 at 11:09 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:

> 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 at linaro.org>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Thanks for cleaning this up!

Yours,
Linus Walleij


More information about the Linux-aspeed mailing list