From: Mark Brown Date: Tue, 12 Aug 2025 15:30:20 +0000 (+0100) Subject: gpiolib: fence off legacy interfaces X-Git-Tag: v6.18-rc1~135^2~13^2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d06f389c8519cc4438e38627ae3d63aa573fa49a;p=thirdparty%2Fkernel%2Flinux.git gpiolib: fence off legacy interfaces Merge series from Arnd Bergmann : Commit 678bae2eaa81 ("gpiolib: make legacy interfaces optional") was merged for linux-6.17, so now it is possible to use the legacy interfaces conditionally and eventually have the support left out of the kernel whenever it is not needed. I created six patches to force-enable CONFIG_GPIOLIB_LEGACY on the few (mostly ancient) platforms that still require this, plus a set of patches to either add the corresponding Kconfig dependencies that make the device drivers conditional on that symbol, or change them to no longer require it. The final patch ends up turning the Kconfig symbol off by default, which of course depends on everything else getting merged first to avoid build errors. I would suggest that patches 1-20 can just get merged through the respective maintainer trees independently when they are deemed ready, and the final patch can wait another merge window. --- d06f389c8519cc4438e38627ae3d63aa573fa49a