gpiolib: provide generic request/free implementations
authorJonas Gorski <jogo@openwrt.org>
Sun, 11 Oct 2015 15:34:15 +0000 (17:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Oct 2015 20:11:16 +0000 (22:11 +0200)
commitc771c2f484857f3b1fc81d180485e96b7cb67c17
tree6ed5046cd43c58197051913f6351182a44a76af7
parent30cefeacec3e289c00128f28b831fb251650eea6
gpiolib: provide generic request/free implementations

Provide generic request/free implementations that pinctrl aware gpio
drivers can use instead of open coding if they use a 1:1 pin to gpio
signal mapping.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h