]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: mpc5200: Drop legacy-of-mm-gpiochip.h header
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 18 Aug 2025 12:42:24 +0000 (14:42 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sat, 6 Sep 2025 10:38:10 +0000 (16:08 +0530)
commite7a6475cc0c32213e87ec190d90b8f1440ff05ae
treef9b250faae2ea093ac1bd1f9e2378ff18a0b0f90
parentd2ad26e7b67e5a3d73221daf8207e848dd819bd4
gpio: mpc5200: Drop legacy-of-mm-gpiochip.h header

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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/9652736ef05b94d9113ea5ce7899734ef82343d1.1755520794.git.christophe.leroy@csgroup.eu
drivers/gpio/Kconfig
drivers/gpio/gpio-mpc5200.c