summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-xway.c
diff options
context:
space:
mode:
authorJonas Gorski2015-10-11 17:34:18 +0200
committerLinus Walleij2015-10-16 22:17:14 +0200
commit31831f41bfd1e340bad66014a1b7ccd761ee51cf (patch)
tree457c76bcb7eca811cb92713d3db3629eddd5386d /drivers/pinctrl/pinctrl-xway.c
parentgpio: gpio-xz: use the generic request/free implementations (diff)
downloadkernel-qcow2-linux-31831f41bfd1e340bad66014a1b7ccd761ee51cf.tar.gz
kernel-qcow2-linux-31831f41bfd1e340bad66014a1b7ccd761ee51cf.tar.xz
kernel-qcow2-linux-31831f41bfd1e340bad66014a1b7ccd761ee51cf.zip
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-xway.c')
0 files changed, 0 insertions, 0 deletions