]> asedeno.scripts.mit.edu Git - linux.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)
commitf306d76082358fa9a3fb3e66674a5852bb48845f
tree26d519843e3fed585404b3987ec718b726c09e78
parentdaa531db8a09dc00084a6030c81f2555a8de70ac
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