Re: [PATCH v3 02/10] gpio: wm831x: use gpiochip_dup_line_label()

From: Bartosz Golaszewski
Date: Mon Dec 04 2023 - 08:39:21 EST


On Mon, Dec 4, 2023 at 2:16 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> On Mon, Dec 04, 2023 at 10:35:01AM +0100, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> >
> > Use the new gpiochip_dup_line_label() helper to safely retrieve the
> > descriptor label.
>
> ...
>
> > for (i = 0; i < chip->ngpio; i++) {
> > int gpio = i + chip->base;
> > int reg;
> > - const char *label, *pull, *powerdomain;
> > + const char *pull, *powerdomain;
>
> Make it reversed xmas tree?
>

Bikeshedding again. :)

But I plan on making all local variables across the core GPIOLIB code
consistent (no tabs and reverse xmas tree) closer to the end of the
release cycle.

Bart