diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-02-08 18:00:05 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-02-22 15:31:19 +0100 |
commit | 62c16234bbfd2758ec2fdd1a716d13418c58044d (patch) | |
tree | ccaef1c7af27cf7380e935f2af06d562f717703b /drivers/gpio/gpio-rcar.c | |
parent | 89f99feb9c73d823d15f40599d998eb11a228465 (diff) | |
download | linux-62c16234bbfd2758ec2fdd1a716d13418c58044d.tar.gz linux-62c16234bbfd2758ec2fdd1a716d13418c58044d.tar.xz |
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-rcar.c')
0 files changed, 0 insertions, 0 deletions