[PATCH 0/2 v7] gpiolib: finish the legacy cleanup
From: Arnd Bergmann <arnd@kernel.org>
Date: 2026-09-07 09:10:17
Also in:
linux-gpio, linux-mips, linux-wireless, lkml
From: Arnd Bergmann <arnd@arndb.de> 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@alpha.franken.de> Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Cc: Kent Gibson <warthog618@gmail.com> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@vger.kernel.org Cc: linux-sh@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: linux-wireless@vger.kernel.org