Re: [PATCH V3 1/5] gpio: davinci: Remove gpio2regs function to accommodate multi instances

From: Linus Walleij
Date: Wed Jan 18 2017 - 18:26:33 EST


On Tue, Jan 17, 2017 at 5:19 PM, Keerthy <j-keerthy@xxxxxx> wrote:

> gpio2regs is written making an assumption that driver supports only
> one instance of gpio controller. Removing this and adding a generic
> array so as to support multiple instances of gpio controllers.
>
> Signed-off-by: Keerthy <j-keerthy@xxxxxx>
> Reviewed-by: Grygorii Strashko <grygorii.strashko@xxxxxx>
> ---
>
> Changes in v2:
>
> * Added a comment to explain divide by 2 logic for register sets.

Patch applied.

Yours,
Linus Walleij