commit | da4002ee901205df4238dd9a63e5598064a0cd17 | [log] [tgz] |
---|---|---|
author | Jonas Gorski <jogo@openwrt.org> | Sun Oct 11 17:34:17 2015 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Oct 16 22:15:51 2015 +0200 |
tree | 5a16c3b382c9a47c0367c8ddca32532a20971851 | |
parent | 203f0daafdf228a7e4e90a714a2a085884d91ea4 [diff] |
gpio: gpio-xz: 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>