On Sat, Dec 01, 2018 at 04:41:44PM +0100, Linus Walleij wrote:
> Use the gpiod_get() rather than the devm_* version so that the
> regulator core can handle the lifecycle of these descriptors.
>
> Fixes: e7d2be696faa ("regulator: max8973: Pass descriptor instead of GPIO
> number")
> Signed-off-by:
Use the gpiod_get() rather than the devm_* version so that the
regulator core can handle the lifecycle of these descriptors.
Fixes: e7d2be696faa ("regulator: max8973: Pass descriptor instead of GPIO
number")
Signed-off-by: Linus Walleij
---
ChangeLog v1->v2:
- Drop the gpiod_put() on the errorpa
2 matches
Mail list logo