[PATCH] gpio: mpc5200: Drop legacy-of-mm-gpiochip.h header

Linus Walleij linus.walleij at linaro.org
Tue Aug 19 23:05:26 AEST 2025


On Mon, Aug 18, 2025 at 2:42 PM Christophe Leroy
<christophe.leroy at csgroup.eu> wrote:

> 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 at csgroup.eu>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the Linuxppc-dev mailing list