On Mon, Dec 4, 2023 at 10:35 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> While reworking the locking in GPIOLIB I realized that locking the
> descriptor with users still calling gpiochip_is_requested() will still
> be buggy as it returns a pointer to a string that can be freed whenever
> the descriptor is released. Let's provide a safer alternative in the
> form of a function that returns a copy of the label.
>
> Use it in all drivers and remove gpiochip_is_requested().
The series:
Acked-by: Linus Walleij <linus.walleij@linaro.org>
> I plan to provide this series in an immutable branch for the pinctrl and
> baytrail trees to pull.
Nice! I'll pull it.
Yours,
Linus Walleij