diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2013-09-04 20:29:25 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-20 10:30:18 +0200 |
commit | d8e0ac0824cd0868ea73f186d6511d710b068044 (patch) | |
tree | 39e856bbd34a65fdf54b1879d8f14e33f5986ece /drivers/gpio/gpio-bcm-kona.c | |
parent | b59278548e2383976f7db5fd3389f9116a6f240d (diff) | |
download | linux-d8e0ac0824cd0868ea73f186d6511d710b068044.tar.gz linux-d8e0ac0824cd0868ea73f186d6511d710b068044.tar.bz2 linux-d8e0ac0824cd0868ea73f186d6511d710b068044.zip |
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-bcm-kona.c')
0 files changed, 0 insertions, 0 deletions