[PATCH v3 2/2] gpio: Get rid of gpio_hog_probe_all()
Tom Rini
trini at konsulko.com
Fri Jan 13 01:16:13 CET 2023
On Thu, Sep 22, 2022 at 05:53:26PM +0200, Quentin Schulz wrote:
> From: Marek Vasut <marex at denx.de>
>
> The gpio_hog_probe_all() functionality can be perfectly well replaced by
> DM_FLAG_PROBE_AFTER_BIND DM flag, which would trigger .probe() callback
> of each GPIO hog driver instance after .bind() and thus configure the
> hogged GPIO accordingly.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Reviewed-by: Samuel Holland <samuel at sholland.org>
With the expectation that a test will be written later, applied to
u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230112/5ed65e98/attachment.sig>
More information about the U-Boot
mailing list