diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-08-17 09:00:02 +0200 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2020-09-24 19:20:47 +0900 |
| commit | e095882ee28a7b1c1c19c43606b83ec6a5912666 (patch) | |
| tree | 7757a1f3f69e9a3a55b66847bfbbd199252c6dbd /tools/perf/scripts/python | |
| 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 <[email protected]>
Reviewed-by: Vijai Kumar K <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions