Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 5 Nov 2020 10:10:57 +0100 | Subject | Re: [PATCH v12 3/4] gpio: thunderx: Utilize for_each_set_clump macro |
| |
On Sun, Oct 18, 2020 at 11:41 PM Syed Nayyar Waris <syednwaris@gmail.com> wrote:
> This patch reimplements the thunderx_gpio_set_multiple function in > drivers/gpio/gpio-thunderx.c to use the new for_each_set_clump macro. > Instead of looping for each bank in thunderx_gpio_set_multiple > function, now we can skip bank which is not set and save cycles. > > Cc: Robert Richter <rrichter@marvell.com> > Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com> > Signed-off-by: Syed Nayyar Waris <syednwaris@gmail.com> > Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> > --- > Changes in v12: > - No change.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
If Andrew merges this through his tree.
Yours, Linus Walleij
| |