drivers/serial: stm32: Remove superfluous dependency in Kconfig

In Kconfig.stm32, all UART port symbols were defined with a dependency
on symbol UART_STM32. This is redundant since they are located under
if UART_STM32 condition.


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2018-12-19 10:59:00 +01:00 committed by Kumar Gala
parent 4a25ae1694
commit 11eacffdd4

View file

@ -21,7 +21,6 @@ if UART_STM32
config UART_1
bool "Enable STM32 USART1 Port"
depends on UART_STM32
help
Enable support for USART1 port in the driver.
Say y here if you want to use USART1 device.
@ -30,7 +29,6 @@ config UART_1
config UART_2
bool "Enable STM32 USART2 Port"
depends on UART_STM32
help
Enable support for USART2 port in the driver.
Say y here if you want to use USART2 device.
@ -39,7 +37,6 @@ config UART_2
config UART_3
bool "Enable STM32 USART3 Port"
depends on UART_STM32
help
Enable support for USART3 port in the driver.
Say y here if you want to use USART3 device.
@ -48,7 +45,6 @@ config UART_3
config UART_4
bool "Enable STM32 U(S)ART4 Port"
depends on UART_STM32
help
Enable support for U(S)ART4 port in the driver.
Say y here if you want to use U(S)ART4 device.
@ -57,7 +53,6 @@ config UART_4
config UART_5
bool "Enable STM32 U(S)ART5 Port"
depends on UART_STM32
help
Enable support for U(S)ART5 port in the driver.
Say y here if you want to use U(S)ART5 device.
@ -66,7 +61,6 @@ config UART_5
config UART_6
bool "Enable STM32 USART6 Port"
depends on UART_STM32
help
Enable support for USART6 port in the driver.
Say y here if you want to use USART6 device.
@ -75,7 +69,6 @@ config UART_6
config UART_7
bool "Enable STM32 U(S)ART7 Port"
depends on UART_STM32
help
Enable support for U(S)ART7 port in the driver.
Say y here if you want to use U(S)ART7 device.
@ -84,7 +77,6 @@ config UART_7
config UART_8
bool "Enable STM32 U(S)ART8 Port"
depends on UART_STM32
help
Enable support for U(S)ART8 port in the driver.
Say y here if you want to use U(S)ART8 device.
@ -93,7 +85,6 @@ config UART_8
config UART_9
bool "Enable STM32 UART9 Port"
depends on UART_STM32
help
Enable support for UART9 port in the driver.
Say y here if you want to use UART9 device.
@ -102,7 +93,6 @@ config UART_9
config UART_10
bool "Enable STM32 UART10 Port"
depends on UART_STM32
help
Enable support for UART10 port in the driver.
Say y here if you want to use UART10 device.
@ -113,7 +103,6 @@ if SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X
config LPUART_1
bool "Enable STM32 LPUART1 Port"
depends on UART_STM32
help
Enable support for LPUART1 port in the driver.
Say y here if you want to use LPUART1 device.