[PATCH 0/2 v8] gpiolib: finish the legacy cleanup
From: Arnd Bergmann
Date: Mon Nov 23 2026 - 03:57:38 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
These two patches are left from my cleanup series, finishing off the
work to turn off CONFIG_GPIOLIB_LEGACY by default, and removing the
include/linux/gpio.h header.
This was planned for 7.3 originally[1], but kept conflicting with
ongoing cleanups for the broken rsk7203 board. I've skipped the
oneline rsk change now, which will be fixed properly by Dmitry's
patch [2].
Arnd
[1] https://lore.kernel.org/all/20260907090956.2825703-1-arnd@xxxxxxxxxx/
[2] https://lore.kernel.org/all/20260929-rsk7203-properties-v3-0-02f84aeb8e47@xxxxxxxxx/
Arnd Bergmann (2):
[v8] gpiolib: turn off legacy interface by default
[v8] gpiolib: remove linux/gpio.h
MAINTAINERS | 1 -
arch/mips/txx9/rbtx4927/setup.c | 2 +-
drivers/gpio/Kconfig | 9 +++++++-
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, 13 insertions(+), 34 deletions(-)
delete mode 100644 include/linux/gpio.h
--
2.53.0
Cc: Bartosz Golaszewski <brgl@xxxxxxxxxx>
Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Cc: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
Cc: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
Cc: Kent Gibson <warthog618@xxxxxxxxx>
Cc: Linus Walleij <linusw@xxxxxxxxxx>
Cc: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-mips@xxxxxxxxxxxxxxx
Cc: linux-sh@xxxxxxxxxxxxxxx
Cc: linux-gpio@xxxxxxxxxxxxxxx
Cc: linux-wireless@xxxxxxxxxxxxxxx