diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-02-12 09:53:14 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2018-03-21 13:58:09 +0900 |
commit | d368e7de5e8bac32a9121608a7d4c96a229d5af2 (patch) | |
tree | baaaeb8e49500e1bd82beea80a5f3444b7930d7f /drivers/spi/spi-tegra114.c | |
parent | a62300d99f15c4be7edafbbc2ade0246ec853778 (diff) | |
download | linux-d368e7de5e8bac32a9121608a7d4c96a229d5af2.tar.gz linux-d368e7de5e8bac32a9121608a7d4c96a229d5af2.tar.bz2 linux-d368e7de5e8bac32a9121608a7d4c96a229d5af2.zip |
extcon: gpio: Convert to fully use GPIO descriptor
Since we are not getting the GPIO from any platform data and global
GPIO numberspace, we simply get the named "extcon" GPIO directly from
the device. Cut away "active low" since GPIO descriptors already know
if the line is active high or low. Simplify a bit with a
struct device *dev helper variable in probe() and cut the complex
init() function.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/spi/spi-tegra114.c')
0 files changed, 0 insertions, 0 deletions