From: Patrick DELAUNAY Date: Wed, 21 Oct 2020 13:38:42 +0000 Subject: [PATCH] arm: stm32: cleanup arch gpio.h In-Reply-To: <20201002120854.22557-1-patrick.delaunay@st.com> References: <20201002120854.22557-1-patrick.delaunay@st.com> Message-ID: <455a210fc6514349b63b8f3ad14c0ae2@SFHDAG2NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > From: Patrick DELAUNAY > 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 > --- > > 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