
21 Oct
2020
21 Oct
'20
3:38 p.m.
Hi,
From: Patrick DELAUNAY patrick.delaunay@st.com Sent: vendredi 2 octobre 2020 14:09
Cosmetic update of gpio.h:
- remove enumerate: stm32_gpio_port, stm32_gpio_pin because STM32_GPIO_XXX values are unused
- move STM32_GPIOS_PER_BANK in stm32_gpio.c as its value is IP dependent and not arch dependent
No functional change as number of banks and number of gpio by banks is managed by device tree since since DM migration and commit 8f651ca60ba1 ("pinctrl: stm32: Add get_pins_count() ops").
Signed-off-by: Patrick Delaunay patrick.delaunay@st.com
arch/arm/include/asm/arch-stm32/gpio.h | 37 ++--------------------- arch/arm/mach-stm32mp/include/mach/gpio.h | 37 ++--------------------- drivers/gpio/stm32_gpio.c | 2 ++ 3 files changed, 6 insertions(+), 70 deletions(-)
Applied to u-boot-stm/master, thanks!
Regards
Patrick