diff options
author | Linus Walleij | 2018-02-08 18:00:05 +0100 |
---|---|---|
committer | Linus Walleij | 2018-02-22 15:31:19 +0100 |
commit | 62c16234bbfd2758ec2fdd1a716d13418c58044d (patch) | |
tree | ccaef1c7af27cf7380e935f2af06d562f717703b /drivers/gpio/gpio-max7300.c | |
parent | gpio: dwapb: Use "stride" rather than "size" for register distance (diff) | |
download | kernel-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-max7300.c')
0 files changed, 0 insertions, 0 deletions