Re: [PATCH 2/2 v7] gpiolib: remove linux/gpio.h

From: Thomas Bogendoerfer

Date: Wed Sep 16 2026 - 16:19:36 EST


On Mon, Sep 07, 2026 at 11:09:56AM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> After all other drivers have converted to linux/gpio/consumer.h
> or linux/gpio/legacy.h, remove the final leftover bits here.
>
> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> MAINTAINERS | 1 -
> arch/mips/txx9/rbtx4927/setup.c | 2 +-

Acked-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>

> arch/sh/boards/mach-rsk/devices-rsk7203.c | 2 +-
> drivers/gpio/TODO | 4 +---
> drivers/gpio/gpiolib-cdev.c | 2 +-
> drivers/gpio/gpiolib-legacy.c | 3 +--
> drivers/gpio/gpiolib.c | 2 +-
> drivers/net/wireless/morsemicro/mm81x/hw.c | 1 -
> drivers/net/wireless/morsemicro/mm81x/yaps.c | 1 -
> include/linux/gpio.h | 22 --------------------
> 10 files changed, 6 insertions(+), 34 deletions(-)
> delete mode 100644 include/linux/gpio.h

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]