aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
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 /include/linux/regulator
parentregulator: max77686: Pass descriptor instead of GPIO number (diff)
downloadlinux-dev-0369e02b75e6381f892e3bd45f1d8d6330d855fb.tar.xz
linux-dev-0369e02b75e6381f892e3bd45f1d8d6330d855fb.zip
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 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions