[PATCH] gpio: Get rid of gpio_hog_probe_all()

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Sep 20 10:02:52 CEST 2022


Hi,

On 9/19/22 21:45, Marek Vasut wrote:
> 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>
> ---
> Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Cc: Samuel Holland <samuel at sholland.org>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>   common/board_r.c           |  3 ---
>   common/spl/spl.c           |  3 ---
>   doc/README.gpio            |  6 ++----
>   drivers/gpio/gpio-uclass.c | 25 ++-----------------------
>   include/asm-generic/gpio.h |  8 --------
>   5 files changed, 4 insertions(+), 41 deletions(-)
>

Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick



More information about the U-Boot mailing list