summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-bt8xx.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-12-03 04:31:11 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-12-04 13:45:29 +0100
commitb7d0a28a9f65c4f8a547ceece820b8167a854968 (patch)
tree37176b7a2ccf808cdfc4a4c03be778b6e0980044 /drivers/gpio/gpio-bt8xx.c
parentgpio: MOXA ART: rename moxart_gpio_base to base (diff)
downloadlinux-b7d0a28a9f65c4f8a547ceece820b8167a854968.tar.xz
linux-b7d0a28a9f65c4f8a547ceece820b8167a854968.zip
gpio: rewrite gpiochip_offset_to_desc()
gpiochip_offset_to_desc() was using gpio_to_desc(), which directly addresses the global GPIO array we are hoping to get rid of someday. Reimplement it using the descriptor array of the chip itself, after checking the requested offset is within the valid bounds of the chip. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-bt8xx.c')
0 files changed, 0 insertions, 0 deletions