diff mbox series

[U-Boot,1/4] gpio: stm32: Rename stm32f7_gpio to stm32_gpio

Message ID 20190621133925.8643-2-patrice.chotard@st.com
State Accepted
Commit 95fbdd1ad8054462b02c1f8a8d6f2e642e88875f
Delegated to: Patrick Delaunay
Headers show
Series STM32 gpio/pinctrl update | expand

Commit Message

Patrice CHOTARD June 21, 2019, 1:39 p.m. UTC
As this driver is used on stm32f4/f7/h7 and stm32mp1
SoCs, rename it with a more generic name.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---

 drivers/gpio/Kconfig                          | 4 ++--
 drivers/gpio/Makefile                         | 2 +-
 drivers/gpio/{stm32f7_gpio.c => stm32_gpio.c} | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename drivers/gpio/{stm32f7_gpio.c => stm32_gpio.c} (100%)

Comments

Patrick DELAUNAY June 25, 2019, 8:22 a.m. UTC | #1
Hi Patrice,

> From: Patrice CHOTARD <patrice.chotard@st.com>
> Sent: vendredi 21 juin 2019 15:39
> 
> As this driver is used on stm32f4/f7/h7 and stm32mp1 SoCs, rename it with a
> more generic name.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>

> ---
> 
>  drivers/gpio/Kconfig                          | 4 ++--
>  drivers/gpio/Makefile                         | 2 +-
>  drivers/gpio/{stm32f7_gpio.c => stm32_gpio.c} | 0
>  3 files changed, 3 insertions(+), 3 deletions(-)  rename
> drivers/gpio/{stm32f7_gpio.c => stm32_gpio.c} (100%)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index
> e36a8abc42..be073335c2 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -255,13 +255,13 @@ config PIC32_GPIO
>  	help
>  	  Say yes here to support Microchip PIC32 GPIOs.
> 
> -config STM32F7_GPIO
> +config STM32_GPIO
>  	bool "ST STM32 GPIO driver"
>  	depends on DM_GPIO && (STM32 || ARCH_STM32MP)
>  	default y
>  	help
>  	  Device model driver support for STM32 GPIO controller. It should be
> -	  usable on many stm32 families like stm32f4 & stm32H7.
> +	  usable on many stm32 families like stm32f4/f7/h7 and stm32mp1.
>  	  Tested on STM32F7.
> 
>  config MVEBU_GPIO
> diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index
> 7337153e0e..4a8aa0ff6f 100644
> --- a/drivers/gpio/Makefile
> +++ b/drivers/gpio/Makefile
> @@ -47,7 +47,7 @@ obj-$(CONFIG_ADI_GPIO2)	+= adi_gpio2.o
>  obj-$(CONFIG_TCA642X)		+= tca642x.o
>  obj-$(CONFIG_SUNXI_GPIO)	+= sunxi_gpio.o
>  obj-$(CONFIG_LPC32XX_GPIO)	+= lpc32xx_gpio.o
> -obj-$(CONFIG_STM32F7_GPIO)	+= stm32f7_gpio.o
> +obj-$(CONFIG_STM32_GPIO)	+= stm32_gpio.o
>  obj-$(CONFIG_GPIO_UNIPHIER)	+= gpio-uniphier.o
>  obj-$(CONFIG_ZYNQ_GPIO)		+= zynq_gpio.o
>  obj-$(CONFIG_VYBRID_GPIO)	+= vybrid_gpio.o
> diff --git a/drivers/gpio/stm32f7_gpio.c b/drivers/gpio/stm32_gpio.c similarity
> index 100% rename from drivers/gpio/stm32f7_gpio.c rename to
> drivers/gpio/stm32_gpio.c
> --
> 2.17.1

Regards

Patrick
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index e36a8abc42..be073335c2 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -255,13 +255,13 @@  config PIC32_GPIO
 	help
 	  Say yes here to support Microchip PIC32 GPIOs.
 
-config STM32F7_GPIO
+config STM32_GPIO
 	bool "ST STM32 GPIO driver"
 	depends on DM_GPIO && (STM32 || ARCH_STM32MP)
 	default y
 	help
 	  Device model driver support for STM32 GPIO controller. It should be
-	  usable on many stm32 families like stm32f4 & stm32H7.
+	  usable on many stm32 families like stm32f4/f7/h7 and stm32mp1.
 	  Tested on STM32F7.
 
 config MVEBU_GPIO
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 7337153e0e..4a8aa0ff6f 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -47,7 +47,7 @@  obj-$(CONFIG_ADI_GPIO2)	+= adi_gpio2.o
 obj-$(CONFIG_TCA642X)		+= tca642x.o
 obj-$(CONFIG_SUNXI_GPIO)	+= sunxi_gpio.o
 obj-$(CONFIG_LPC32XX_GPIO)	+= lpc32xx_gpio.o
-obj-$(CONFIG_STM32F7_GPIO)	+= stm32f7_gpio.o
+obj-$(CONFIG_STM32_GPIO)	+= stm32_gpio.o
 obj-$(CONFIG_GPIO_UNIPHIER)	+= gpio-uniphier.o
 obj-$(CONFIG_ZYNQ_GPIO)		+= zynq_gpio.o
 obj-$(CONFIG_VYBRID_GPIO)	+= vybrid_gpio.o
diff --git a/drivers/gpio/stm32f7_gpio.c b/drivers/gpio/stm32_gpio.c
similarity index 100%
rename from drivers/gpio/stm32f7_gpio.c
rename to drivers/gpio/stm32_gpio.c