[PATCH 0/2 v7] gpiolib: finish the legacy cleanup
From: Arnd Bergmann
Date: Mon Sep 07 2026 - 05:17:00 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.
I had originally planned to send these during the merge window after all
the prerequisites made it in, but didn't finish that before my vacation,
so I'm sending it now. I suppose this makes them 7.4 material now,
but at least the first one could stil be fast-tracked to 7.3 if there
is a good reason.
The second patch has to remove a few more leftover <linux/gpio.h>
inclusions that made it into 7.3-rc1 either from new code or from
conflicts with other changes.
Arnd Bergmann (2):
gpiolib: turn off legacy interface by default
gpiolib: remove linux/gpio.h
MAINTAINERS | 1 -
arch/mips/txx9/rbtx4927/setup.c | 2 +-
arch/sh/boards/mach-rsk/devices-rsk7203.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 --------------------
11 files changed, 14 insertions(+), 35 deletions(-)
delete mode 100644 include/linux/gpio.h
--
2.53.0
Cc: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
Cc: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
Cc: Kent Gibson <warthog618@xxxxxxxxx>
Cc: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-mips@xxxxxxxxxxxxxxx
Cc: linux-sh@xxxxxxxxxxxxxxx
Cc: linux-gpio@xxxxxxxxxxxxxxx
Cc: linux-wireless@xxxxxxxxxxxxxxx