gpiolib: use gpio_chips list in gpiochip_find
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 2 Feb 2013 16:29:26 +0000 (01:29 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 9 Feb 2013 09:23:30 +0000 (09:23 +0000)
Using the GPIO chips list is much faster than parsing the entire GPIO
number space.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found