On Thu, Nov 22, 2018 at 6:30 PM Charles Keepax <[email protected]> wrote:
> Currently, the regulator core will take ownership of any GPIO passed > into it. Makes end driver code fairly error prone as the normal devm_ > patterns of allocation don't work. Update the regulator core to only > free the GPIO if it requested it, this allows the drivers to manage the > GPIO lifetime as they normally would. > > Reported-by: Marek Szyprowski <[email protected]> > Signed-off-by: Charles Keepax <[email protected]> Reviewed-by: Linus Walleij <[email protected]> This patch is slightly prettier than mine. Thanks! Linus Walleij

