Re: [PATCH] gpio: mpc5200: Drop legacy-of-mm-gpiochip.h header
From: Linus Walleij <hidden>
Date: 2025-08-19 13:05:39
Also in:
linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2025-08-19 13:05:39
Also in:
linux-gpio, lkml
On Mon, Aug 18, 2025 at 2:42 PM Christophe Leroy [off-list ref] 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 <redacted>Reviewed-by: Linus Walleij <redacted> Yours, Linus Walleij