Re: [PATCH 1/2] gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver
From: Bartosz Golaszewski
Date: Thu Oct 16 2025 - 10:53:09 EST
From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
On Mon, 13 Oct 2025 15:07:14 +0200, Christophe Leroy 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.
>
> [...]
Awesome work! Thanks for doing it, we really need to keep getting rid of all
these legacy intefaces. Queued for v6.19.
[1/2] gpio: mm-lantiq: Drop legacy-of-mm-gpiochip.h header from GPIO driver
https://git.kernel.org/brgl/linux/c/8d0d46da40c878d082b92771355faba8036aecc7
[2/2] gpiolib: of: Get rid of <linux/gpio/legacy-of-mm-gpiochip.h>
https://git.kernel.org/brgl/linux/c/eba11116f39533d2e38cc5898014f2c95f32d23a
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>