diff options
| author | Linus Walleij <[email protected]> | 2018-11-15 09:01:17 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-11-15 11:40:35 -0800 |
| commit | 1c984942f0a480ed41635528234b8bc672f6bac7 (patch) | |
| tree | 5eff24c4c9241bb7dc2ee73b274d39dac0740b1c /tools/perf/scripts/python/stackcollapse.py | |
| parent | e770b18bbbaecebfb37389b45bf82974a17488d7 (diff) | |
regulator: s2mps11: Pass descriptor instead of GPIO number
Instead of passing a global GPIO number for the enable GPIO, pass
a descriptor looked up with the standard devm_gpiod_get_optional()
call.
This regulator supports passing platform data, but enable/sleep
regulators are looked up from the device tree exclusively, so
we can need not touch other files.
Tested on Odroid XU3 (with s2mps11 although not using any GPIOs
for regulators, so at least default paths are not broken).
Cc: Sangbeom Kim <[email protected]>
Cc: Chanwoo Choi <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions