gpiolib: factorize gpiod_get/set functions
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 4 Sep 2013 11:29:25 +0000 (20:29 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Sep 2013 08:30:18 +0000 (10:30 +0200)
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>

No differences found