[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZWi4ZRtTRJEN5rSx@smile.fi.intel.com>
Date: Thu, 30 Nov 2023 18:29:25 +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 v2 03/10] gpio: wm8994: use gpiochip_dup_line_label()
On Thu, Nov 30, 2023 at 02:46:23PM +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.
...
> - seq_printf(s, " gpio-%-3d (%-20.20s) ", gpio, label);
> + seq_printf(s, " gpio-%-3d (%-20.20s) ", gpio,
> + label ?: "Unrequested");
Haha, see previous comment (in previous email).
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists