diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-17 09:00:02 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2020-09-24 19:20:47 +0900 |
commit | e095882ee28a7b1c1c19c43606b83ec6a5912666 (patch) | |
tree | 7757a1f3f69e9a3a55b66847bfbbd199252c6dbd /drivers/extcon/devres.c | |
parent | 45ce36f5d262d7361179c21143555ae2c4b261d2 (diff) | |
download | linux-e095882ee28a7b1c1c19c43606b83ec6a5912666.tar.bz2 |
extcon: ptn5150: Simplify getting vbus-gpios with flags
Instead of obtaining GPIO as input and configuring it right after to
output-low, just use proper GPIOD_OUT_LOW flag. Code is smaller and
simpler.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/devres.c')
0 files changed, 0 insertions, 0 deletions