diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-02-02 17:29:30 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-02-11 23:21:28 +0100 |
commit | 6c0b4e6c85d085bd92966bc2b8da73e2d7f35929 (patch) | |
tree | c04b9c20083445195cade9fbcd11265632585525 /drivers/gpio/gpiolib-of.c | |
parent | gpiolib: use descriptors internally (diff) | |
download | linux-6c0b4e6c85d085bd92966bc2b8da73e2d7f35929.tar.xz linux-6c0b4e6c85d085bd92966bc2b8da73e2d7f35929.zip |
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>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions