[PATCH 6/9] gpiolib: use descriptors internally

Grant Likely grant.likely at secretlab.ca
Sat Feb 9 08:24:35 EST 2013


On Sun,  3 Feb 2013 01:29:29 +0900, Alexandre Courbot <acourbot at nvidia.com> wrote:
> Make sure gpiolib works internally with descriptors and (chip, offset)
> pairs instead of using the global integer namespace. This prepares the
> ground for the removal of the global gpio_desc[] array and the
> introduction of the descriptor-based GPIO API.
> 
> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>

Despite Linus' comments, I've gone ahead and applied this. I think it is
a worthwhile change on its own and it feeds into the future work than
needs to be done. Any of the stuff he brought up can be addressed in
follow-on patches.

g.




More information about the linux-arm-kernel mailing list