commit | d8e0ac0824cd0868ea73f186d6511d710b068044 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Wed Sep 04 20:29:25 2013 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Sep 20 10:30:18 2013 +0200 |
tree | 39e856bbd34a65fdf54b1879d8f14e33f5986ece | |
parent | b59278548e2383976f7db5fd3389f9116a6f240d [diff] |
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>