]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: arizona-ldo1: Rely on core to handle GPIO descriptor
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 11 Dec 2018 09:53:19 +0000 (10:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 Dec 2018 16:49:36 +0000 (16:49 +0000)
commit69e774d3319c461f2788a9f795a0f1b2b035013a
tree26d519843e3fed585404b3987ec718b726c09e78
parent780a64cbb19da3259e8147ede876d193fc572850
regulator: arizona-ldo1: Rely on core to handle GPIO descriptor

After making sure that the regulator core always take over
handling of the GPIO descriptors, the gpiod_put()
on the errorpath of the Arizona LDO1 driver becomes
redundant.

Reported-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/arizona-ldo1.c