]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpiolib: fence off legacy interfaces
authorMark Brown <broonie@kernel.org>
Tue, 12 Aug 2025 15:30:20 +0000 (16:30 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Aug 2025 15:30:20 +0000 (16:30 +0100)
commitd06f389c8519cc4438e38627ae3d63aa573fa49a
treebd15268475399864a0519b22555a01944558ca7a
parent54401b5d9fb7da010b91ee47d3d8eb70b685d182
parent2d86d2585ab929a143d1e6f8963da1499e33bf13
gpiolib: fence off legacy interfaces

Merge series from Arnd Bergmann <arnd@kernel.org>:

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.
sound/soc/codecs/Kconfig