From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH v7 3/4] gpiolib: Pass array info to get/set array functions Date: Mon, 3 Sep 2018 16:21:33 +0200 Message-ID: References: <20180831225616.29221-1-jmkrzyszt@gmail.com> <20180902120144.6855-1-jmkrzyszt@gmail.com> <20180902120144.6855-4-jmkrzyszt@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20180902120144.6855-4-jmkrzyszt@gmail.com> Sender: netdev-owner@vger.kernel.org To: Janusz Krzysztofik Cc: Linus Walleij , Jonathan Corbet , Miguel Ojeda Sandonis , peter.korsgaard@barco.com, Peter Rosin , Ulf Hansson , Andrew Lunn , Florian Fainelli , "David S. Miller" , Dominik Brodowski , Greg KH , Kishon Vijay Abraham I , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald , Jiri Slaby , Willy Tarreau , "open list:DOCUMENTATION" List-Id: linux-i2c@vger.kernel.org On Sun, Sep 2, 2018 at 2:01 PM Janusz Krzysztofik 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@linux-m68k.org 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