On Tue, Nov 12, 2019 at 3:18 PM Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx> wrote: s/unnecerssary/unnecessary/ > Having static inline oneliner does not benefit too much when it is > only called from another oneliner function. Remove some of the > 'onion'. This simplifies also the coming usage of the gpiolib > defines. We can do conversion from chip bits to gpiolib direction > defines as last step in the get_direction callback. Drivers can > use chip specific values in driver internal functions and do > conversion only once. > > Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> As this is a dependency for 2/2, which will go in through the GPIO tree: Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds