]> git.baikalelectronics.ru Git - uboot.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)
commitf1ec513355a53e883e56d63d8199fc784576cb19
tree9a2a90d475abd35c8945bb3af7aa0c14bfc149f7
parent3a06e88e534078c7439b93c500835573be21226c
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