Re: [PATCH v3 24/27] gpio: Add devm_fwnode_gpiod_get_optional() helpers
From: Andy Shevchenko <hidden>
Date: 2020-08-28 14:57:05
Also in:
linux-gpio, lkml, platform-driver-x86
From: Andy Shevchenko <hidden>
Date: 2020-08-28 14:57:05
Also in:
linux-gpio, lkml, platform-driver-x86
On Fri, Aug 28, 2020 at 5:45 PM Krzysztof Kozlowski [off-list ref] wrote:
On Fri, 28 Aug 2020 at 16:31, Linus Walleij [off-list ref] wrote:quoted
On Thu, Aug 27, 2020 at 9:00 PM Krzysztof Kozlowski [off-list ref] wrote:quoted
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@kernel.org> Reviewed-by: Andy Shevchenko <redacted>OK then, I suppose this gets merged with the rest? Reviewed-by: Linus Walleij <redacted>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