On Tue, Dec 3, 2024, at 08:27, Song Chen wrote: > GPIO subsystem is moving toward a descriptor-based approach > from global GPIO numberspace, but some of legacy GPIO APIs > callings still remain in sta2x11. > > This patch mainly replaces gpio_request with gpiod_get_index > and removes including gpio.h. > > Signed-off-by: Song Chen <chensong_2000@xxxxxx> > --- This is a step in the right direction, but realistically we should just remove this driver. I'm planning to send a patch to remove the sta2x11 platform from arch/x86 in a few days as we had discussed years ago but never actually done. Arnd