summaryrefslogtreecommitdiff
path: root/drivers/regulator/max8952.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-06 15:43:39 +0300
committerMark Brown <broonie@kernel.org>2018-12-11 04:03:49 +0300
commite8a33aa0e3bc22134bf2bf3ca6339d6a1b7ffe16 (patch)
tree545125e45e59e157b6867aa7b765d17ca4106fe8 /drivers/regulator/max8952.c
parent5e6f3ae5c13b12ecd440da2f511fc5fd3c8de520 (diff)
downloadlinux-e8a33aa0e3bc22134bf2bf3ca6339d6a1b7ffe16.tar.xz
regulator: lm363x: Let core handle GPIO descriptor
Use the gpiod_get() rather than the devm_* version so that the regulator core can handle the lifecycle of these descriptors. Fixes: b2d751b7f69b ("regulator: lm363x: Pass descriptor instead of GPIO number") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max8952.c')
0 files changed, 0 insertions, 0 deletions