Re: [PATCH 2/2] regulator: arizona-ldo1: Rely on core to handle GPIO descriptor

From: Charles Keepax
Date: Wed Dec 12 2018 - 09:23:11 EST


On Tue, Dec 11, 2018 at 10:53:19AM +0100, Linus Walleij wrote:
> 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@xxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles