Re: [PATCH v7 3/4] gpiolib: Pass array info to get/set array functions

From: Geert Uytterhoeven
Date: Mon Sep 03 2018 - 10:21:51 EST


On Sun, Sep 2, 2018 at 2:01 PM Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> wrote:
> In order to make use of array info obtained from gpiod_get_array() and
> speed up processing of arrays matching single GPIO chip layout, that
> information must be passed to get/set array functions. Extend the
> functions' API with that additional parameter and update all users.
> Pass NULL if a user bulids an array itself from single GPIOs.

builds

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