]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Get rid of gpio_hog_probe_all()
authorMarek Vasut <marex@denx.de>
Thu, 22 Sep 2022 15:53:26 +0000 (17:53 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 12 Jan 2023 19:06:16 +0000 (14:06 -0500)
commit48b3ecbedf8208845ac5956a3fb8817269fafedd
tree9a2a90d475abd35c8945bb3af7aa0c14bfc149f7
parent942918f2acd3634dee7813f7b9f801ffd54d9f2e
gpio: Get rid of gpio_hog_probe_all()

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@denx.de>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
common/board_r.c
common/spl/spl.c
doc/README.gpio
drivers/gpio/gpio-uclass.c
include/asm-generic/gpio.h