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 12:20:47 +0200 |
commit | e095882ee28a7b1c1c19c43606b83ec6a5912666 (patch) | |
tree | 7757a1f3f69e9a3a55b66847bfbbd199252c6dbd /Kconfig | |
parent | extcon: ptn5150: Use generic "interrupts" property (diff) | |
download | linux-e095882ee28a7b1c1c19c43606b83ec6a5912666.tar.xz linux-e095882ee28a7b1c1c19c43606b83ec6a5912666.zip |
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 'Kconfig')
0 files changed, 0 insertions, 0 deletions