summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-wm831x.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-09-04 15:29:25 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-09-20 12:30:18 +0400
commitd8e0ac0824cd0868ea73f186d6511d710b068044 (patch)
tree39e856bbd34a65fdf54b1879d8f14e33f5986ece /drivers/gpio/gpio-wm831x.c
parentb59278548e2383976f7db5fd3389f9116a6f240d (diff)
downloadlinux-d8e0ac0824cd0868ea73f186d6511d710b068044.tar.xz
gpiolib: factorize gpiod_get/set functions
gpiod_get/set functions share common code between their regular and cansleep variants. The exporting of the gpiod interface will make the situation worse. This patch factorizes the common code to avoid code redundancy. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-wm831x.c')
0 files changed, 0 insertions, 0 deletions