summaryrefslogtreecommitdiff
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-05-14 10:06:31 +0200
committerMark Brown <broonie@kernel.org>2018-05-17 15:43:27 +0900
commit0369e02b75e6381f892e3bd45f1d8d6330d855fb (patch)
tree09cfdb3683e450cdacb304cb000a649d81e31ea7 /drivers/regulator/core.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 <linus.walleij@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions