]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pl061: use the generic request/free implementations
authorJonas Gorski <jogo@openwrt.org>
Sun, 11 Oct 2015 15:34:18 +0000 (17:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Oct 2015 20:17:14 +0000 (22:17 +0200)
commit58b36c8999f466f64c73fd184a1a2b0d97fa177a
tree457c76bcb7eca811cb92713d3db3629eddd5386d
parent6c0aa4433b8764cc560238ff0f3310cddbcce3e9
gpio: pl061: use the generic request/free implementations

Instead of storing in the chip data whether the chip uses pinctrl and
conditionally call pinctrl_{request,free}_gpio, just don't populate
request/free in that case.

This makes the implementations trivial and the same as the generic
implementations, thus we can just use them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pl061.c