[PATCH 7/9] gpiolib: let gpio_chip reference its descriptors

Linus Walleij linus.walleij at linaro.org
Tue Feb 5 13:00:09 EST 2013


On Sat, Feb 2, 2013 at 5:29 PM, Alexandre Courbot <acourbot at nvidia.com> wrote:

> Add a pointer to the gpio_chip structure that references the array of
> GPIO descriptors belonging to the chip, and update gpiolib code to use
> this pointer instead of the global gpio_desc[] array. This is another
> step towards the removal of the gpio_desc[] global array.
>
> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.orh>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list