summaryrefslogtreecommitdiff
path: root/drivers/regulator/hi6421v530-regulator.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-04-20 14:34:30 +0300
committerMark Brown <broonie@kernel.org>2019-04-25 22:04:56 +0300
commit78927aa40bc82f32de07323ddc1c9de07ac68180 (patch)
tree93a338e657d6216e773c2886a7974bab1ab71797 /drivers/regulator/hi6421v530-regulator.c
parent063773011d33bb36588a90385aa9eb75d13c6d80 (diff)
downloadlinux-78927aa40bc82f32de07323ddc1c9de07ac68180.tar.xz
regulator: core: Actually put the gpiod after use
I went to great lengths to hand over the management of the GPIO descriptors to the regulator core, and some stray rebased oneliner in the old patch must have been assuming the devices were still doing devres management of it. We handed the management over to the regulator core, so of course the regulator core shall issue gpiod_put() when done. Sorry for the descriptor leak. Fixes: 541d052d7215 ("regulator: core: Only support passing enable GPIO descriptors") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/hi6421v530-regulator.c')
0 files changed, 0 insertions, 0 deletions