Skip to content

Commit

Permalink
gpiolib: use descriptors internally
Browse files Browse the repository at this point in the history
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@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
[grant.likely: Squash in fix for link error when CONFIG_SYSFS=n]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Alexandre Courbot authored and Grant Likely committed Feb 11, 2013
1 parent 83cabe3 commit 372e722
Showing 1 changed file with 338 additions and 176 deletions.
Loading

0 comments on commit 372e722

Please sign in to comment.