Re: [PATCH 2/2] gpio: davinci: Fix the number of controllers allocated

From: Linus Walleij
Date: Wed Feb 10 2016 - 05:02:12 EST


On Thu, Jan 28, 2016 at 2:38 PM, Keerthy <j-keerthy@xxxxxx> wrote:

> From: Lokesh Vutla <lokeshvutla@xxxxxx>
>
> Driver only needs to allocate for [ngpio / 32] controllers,
> as each controller handles 32 gpios. But the current driver
> allocates for ngpio of which the extra allocated are unused.
> Fix it be registering only the required number of controllers.
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@xxxxxx>
> Signed-off-by: Keerthy <j-keerthy@xxxxxx>

Patch applied for fixes with Grygorii's review tag.

Yours,
Linus Walleij