On Mon, Feb 10, 2025 at 11:23 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > We have several conditional includes depending on !CONFIG_GPIOLIB. This > is supposed to reduce compilation time with CONFIG_GPIOLIB=y but in > practice there's no difference on modern machines. It makes adding new > stubs that depend on more than just GPIOLIB harder so move them all to > the top, unduplicate them and replace asm/ with preferred linux/ > alternatives. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij