Alexandre Courbot 6c0b4e6c85 gpiolib: let gpio_chip reference its descriptors
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@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.orh>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2013-02-11 22:21:28 +00:00
..
2013-01-02 17:36:10 -08:00
2012-12-13 19:20:31 -08:00
2013-01-10 20:06:08 -08:00
2013-01-18 14:05:59 -08:00
2012-12-18 12:26:54 -08:00
2013-01-02 17:36:10 -08:00