commit | e095882ee28a7b1c1c19c43606b83ec6a5912666 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Mon Aug 17 09:00:02 2020 +0200 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Thu Sep 24 19:20:47 2020 +0900 |
tree | 7757a1f3f69e9a3a55b66847bfbbd199252c6dbd | |
parent | 45ce36f5d262d7361179c21143555ae2c4b261d2 [diff] |
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>