]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 13 Oct 2025 13:07:14 +0000 (15:07 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 16 Oct 2025 14:47:18 +0000 (16:47 +0200)
commit8d0d46da40c878d082b92771355faba8036aecc7
treecf56f6fc7a1c93e0828d19a51a9737926202d631
parent9631a10083d843b57b371d406235e2f2a3e49285
gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver

Remove legacy-of-mm-gpiochip.h header file. The above mentioned
file provides an OF API that's deprecated. There is no agnostic
alternatives to it and we have to open code the logic which was
hidden behind of_mm_gpiochip_add_data(). Note, most of the GPIO
drivers are using their own labeling schemas and resource retrieval
that only a few may gain of the code deduplication, so whenever
alternative is appear we can move drivers again to use that one.

[Text copied from commit 34064c8267a6 ("powerpc/8xx: Drop
legacy-of-mm-gpiochip.h header")]

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-mm-lantiq.c