Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip

From: Linus Walleij
Date: Tue Nov 08 2016 - 08:31:29 EST


On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam <ahaslam@xxxxxxxxxxxx> wrote:

> The gpiod framework uses the chip label to match a specific chip.
> The davinci gpio driver, creates several chips using always the same
> label, which is not compatible with gpiod.
>
> To allow platform data to declare gpio lookup tables, and for drivers
> to use the gpiod framework, allocate unique label per registered chip.
>
> Signed-off-by: Axel Haslam <ahaslam@xxxxxxxxxxxx>

Sekhar/Kevin: can either of you review this patch?

Yours,
Linus Walleij