Re: [PATCH v3 24/27] gpio: Add devm_fwnode_gpiod_get_optional() helpers

From: Andy Shevchenko
Date: Fri Aug 28 2020 - 10:57:05 EST


On Fri, Aug 28, 2020 at 5:45 PM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
> On Fri, 28 Aug 2020 at 16:31, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> > On Thu, Aug 27, 2020 at 9:00 PM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
> >
> > > Add devm_fwnode_gpiod_get_optional() and
> > > devm_fwnode_gpiod_get_index_optional() helpers, similar to regular
> > > devm_gpiod optional versions. Drivers getting GPIOs from a firmware
> > > node might use it to remove some boilerplate code.
> > >
> > > Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> > > Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> >
> > OK then, I suppose this gets merged with the rest?
> >
> > Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> That's the easiest unless you expect some conflicts. Only one next
> patch depends on this so worst case it could wait one cycle.

I believe Dmitry and Linus are familiar with the concept of immutable
branches, so it won't be a problem to create one and share.

--
With Best Regards,
Andy Shevchenko