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

From: Kevin Hilman
Date: Tue Nov 08 2016 - 13:16:30 EST


Axel Haslam <ahaslam@xxxxxxxxxxxx> writes:

> 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>

Acked-by: Kevin Hilman <khilman@xxxxxxxxxxxx>