aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2018-05-14 10:06:31 +0200
committerMark Brown <[email protected]>2018-05-17 15:43:27 +0900
commit0369e02b75e6381f892e3bd45f1d8d6330d855fb (patch)
tree09cfdb3683e450cdacb304cb000a649d81e31ea7 /lib/string_helpers.c
parentc89c00e2b8f034891d2550df5ba6fae39f3bf563 (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. Signed-off-by: Linus Walleij <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Tested-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions