Re: [PATCH] gpio: ftgpio010: use device name for gpiochip name & label

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 24, 2022 at 10:08 AM Jeremy Kerr <jk@xxxxxxxxxxxxxxxxxxxx> wrote:

> Currently, we use just the fixed string "FTGPIO010" as the gpiochip name
> for ftgpio010 drivers. Because it's fixed, this means we cannot
> distinguish multiple ftgpio010 devices present on a single system.
>
> This change uses the dev_name() instead, which should be unique between
> multiple instances.
>
> Signed-off-by: Jeremy Kerr <jk@xxxxxxxxxxxxxxxxxxxx>

Fine by me:
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Out of curiosity: what device/SoC are you using this driver with?

Yours,
Linus Walleij



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux