Re: [PATCH v2 03/10] gpio: wm8994: use gpiochip_dup_line_label()

From: Andy Shevchenko
Date: Thu Nov 30 2023 - 11:29:33 EST


On Thu, Nov 30, 2023 at 02:46:23PM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> 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