summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pcf857x.c
diff options
context:
space:
mode:
authorLinus Walleij2018-02-08 18:00:05 +0100
committerLinus Walleij2018-02-22 15:31:19 +0100
commit62c16234bbfd2758ec2fdd1a716d13418c58044d (patch)
treeccaef1c7af27cf7380e935f2af06d562f717703b /drivers/gpio/gpio-pcf857x.c
parentgpio: dwapb: Use "stride" rather than "size" for register distance (diff)
downloadkernel-qcow2-linux-62c16234bbfd2758ec2fdd1a716d13418c58044d.tar.gz
kernel-qcow2-linux-62c16234bbfd2758ec2fdd1a716d13418c58044d.tar.xz
kernel-qcow2-linux-62c16234bbfd2758ec2fdd1a716d13418c58044d.zip
gpio: dwapb: Call directly into the gpiochip to read value
We were going out through the (legacy) gpio API to read the value of a line to set up polarity inversion. This is abusive. Do something less abusive by looking up the actual struct gpio_chip * instance and calling .get() directly on it. Acked-by: Hoan Tran <hotran@apm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pcf857x.c')
0 files changed, 0 insertions, 0 deletions