From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Michael Tretter <m.tretter@pengutronix.de>
Cc: Linus Walleij <linusw@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>,
Matti Vaittinen <mazziesaccount@gmail.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
linux-gpio@vger.kernel.org, kernel@pengutronix.de,
Stefan Kerkmann <s.kerkmann@pengutronix.de>
Subject: Re: [PATCH v2 1/2] gpiolib: introduce devm_fwnode_gpiod_get_optional() wrapper
Date: Tue, 27 Jan 2026 20:40:33 +0100 [thread overview]
Message-ID: <aXkUsRTYWiPPDDy2@black.igk.intel.com> (raw)
In-Reply-To: <20260126-gpio-devm_fwnode_gpiod_get_optional-v2-1-ec34f8e35077@pengutronix.de>
On Mon, Jan 26, 2026 at 03:27:47PM +0100, Michael Tretter wrote:
>
> The helper makes it easier to handle optional GPIOs and simplifies the
> error handling code.
This helper should be exported function which may use the existing internal
API, id est gpiod_not_found(). Another possibility to move the latter to
the tree wide header, but I'm not sure we can make the good choice for that.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-01-27 19:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 14:27 [PATCH v2 0/2] gpiolib: introduce devm_fwnode_gpiod_get_optional Michael Tretter
2026-01-26 14:27 ` [PATCH v2 1/2] gpiolib: introduce devm_fwnode_gpiod_get_optional() wrapper Michael Tretter
2026-01-27 6:53 ` Matti Vaittinen
2026-01-27 19:40 ` Andy Shevchenko [this message]
2026-01-26 14:27 ` [PATCH v2 2/2] regulator: bd71815: switch to devm_fwnode_gpiod_get_optional Michael Tretter
2026-01-27 9:17 ` [PATCH v2 0/2] gpiolib: introduce devm_fwnode_gpiod_get_optional Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXkUsRTYWiPPDDy2@black.igk.intel.com \
--to=andriy.shevchenko@intel.com \
--cc=brgl@kernel.org \
--cc=broonie@kernel.org \
--cc=kernel@pengutronix.de \
--cc=lgirdwood@gmail.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=m.tretter@pengutronix.de \
--cc=mazziesaccount@gmail.com \
--cc=s.kerkmann@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox