Messages in this thread | | | From | Linus Walleij <> | Date | Sat, 16 May 2020 11:37:58 +0200 | Subject | Re: [PATCH] gpiolib: Document that GPIO line names are not globally unique |
| |
On Mon, May 11, 2020 at 12:18 PM Geert Uytterhoeven <geert+renesas@glider.be> wrote:
> gpiochip_set_desc_names() no longer rejects GPIO line name collisions. > Hence GPIO line names are not guaranteed to be globally unique. > In case of multiple GPIO lines with the same name, gpio_name_to_desc() > will return the first match found. > > Update the comments for gpio_name_to_desc() and > gpiochip_set_desc_names() to match reality. > > Fixes: f881bab038c9667d ("gpio: keep the GPIO line names internal") > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Patch applied.
Yours, Linus Walleij
| |