diff options
author | Marek Vasut <marex@denx.de> | 2022-09-22 17:53:26 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-12 14:06:16 -0500 |
commit | 48b3ecbedf8208845ac5956a3fb8817269fafedd (patch) | |
tree | 9a2a90d475abd35c8945bb3af7aa0c14bfc149f7 /common/board_r.c | |
parent | 942918f2acd3634dee7813f7b9f801ffd54d9f2e (diff) | |
download | u-boot-48b3ecbedf8208845ac5956a3fb8817269fafedd.zip u-boot-48b3ecbedf8208845ac5956a3fb8817269fafedd.tar.gz u-boot-48b3ecbedf8208845ac5956a3fb8817269fafedd.tar.bz2 |
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>
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/board_r.c b/common/board_r.c index 42060ee..3618aca 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -756,9 +756,6 @@ static init_fnc_t init_sequence_r[] = { initr_status_led, #endif /* PPC has a udelay(20) here dating from 2002. Why? */ -#if defined(CONFIG_GPIO_HOG) - gpio_hog_probe_all, -#endif #ifdef CONFIG_BOARD_LATE_INIT board_late_init, #endif |