[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZW3RPxjsNPacT9Si@smile.fi.intel.com>
Date: Mon, 4 Dec 2023 15:16:47 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH v3 02/10] gpio: wm831x: use gpiochip_dup_line_label()
On Mon, Dec 04, 2023 at 10:35:01AM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
>
> 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?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists