[PATCH] gpio: Get rid of gpio_hog_probe_all()
Samuel Holland
samuel at sholland.org
Tue Sep 20 05:04:57 CEST 2022
On 9/19/22 14: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: Samuel Holland <samuel at sholland.org>
More information about the U-Boot
mailing list