]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: dh_stm32mp1: Remove gpio_hog_probe_all() from board
authorPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 1 Sep 2021 09:51:43 +0000 (11:51 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:46:10 +0000 (08:46 +0200)
DM_GPIO_HOG flag has been replaced by GPIO_HOG flag since a while in
commit 49b10cb49262 ("gpio: fixes for gpio-hog support").

And furthermore, gpio_hog_probe_all() is already called in board_r.c.
So gpio_hog_probe() can be removed from stm32mp1.c.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
board/dhelectronics/dh_stm32mp1/board.c

index 765b54a4a4c96e5581114a105e189b944ace3807..957208cf5a57ecd7584a214562267c5f3c6055ae 100644 (file)
@@ -590,9 +590,6 @@ static void board_init_fmc2(void)
 /* board dependent setup after realloc */
 int board_init(void)
 {
-       if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
-               gpio_hog_probe_all();
-
        board_key_check();
 
 #ifdef CONFIG_DM_REGULATOR