drivers: spi: Kconfig: Remove redundant 'default n' properties

Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2018-06-27 11:33:42 +02:00 committed by Anas Nashif
commit d77663ac05
5 changed files with 0 additions and 19 deletions

View file

@ -11,7 +11,6 @@
#
menuconfig SPI
bool "SPI hardware bus support"
default n
help
Enable support for the SPI hardware bus.
@ -19,14 +18,12 @@ if SPI
config SPI_ASYNC
bool "Enable Asynchronous call support"
default n
select POLL
help
This option enables the asynchronous API calls.
config SPI_SLAVE
bool "Enable Slave support [EXPERIMENTAL]"
default n
help
Enables Driver SPI slave operations. Slave support depends
on the driver and the hardware it runs on.
@ -59,7 +56,6 @@ config SYS_LOG_SPI_LEVEL
config SPI_0
bool "SPI port 0"
default n
help
Enable SPI controller port 0.
@ -99,7 +95,6 @@ endif # SPI_0
config SPI_1
bool "SPI port 1"
default n
help
Enable SPI controller port 1.
@ -139,7 +134,6 @@ endif # SPI_1
config SPI_2
bool "SPI port 2"
default n
help
Enable SPI controller port 2.
@ -179,7 +173,6 @@ endif # SPI_2
config SPI_3
bool "SPI port 3"
default n
help
Enable SPI controller port 3.
@ -209,7 +202,6 @@ endif # SPI_3
config SPI_4
bool "SPI port 4"
default n
help
Enable SPI controller port 4.
@ -235,7 +227,6 @@ endif # SPI_4
config SPI_5
bool "SPI port 5"
default n
help
Enable SPI controller port 5.
@ -262,7 +253,6 @@ endif # SPI_5
config SPI_INTEL
bool "Intel SPI controller driver"
depends on CPU_MINUTEIA
default n
help
Enable support for Intel's SPI controllers. Such controller
was formerly found on XScale chips. It can be found nowadays

View file

@ -8,7 +8,6 @@
menuconfig SPI_DW
bool "Designware SPI controller driver"
default n
help
Enable support for Designware's SPI controllers.
@ -42,7 +41,6 @@ config SPI_DW_PORT_0_INTERRUPT_SINGLE_LINE
config SPI_DW_PORT_0_CLOCK_GATE
bool "Enable clock gating"
depends on CLOCK_CONTROL
default n
if SPI_DW_PORT_0_CLOCK_GATE
@ -66,7 +64,6 @@ config SPI_DW_PORT_1_INTERRUPT_SINGLE_LINE
config SPI_DW_PORT_1_CLOCK_GATE
bool "Enable clock gating"
depends on CLOCK_CONTROL
default n
if SPI_DW_PORT_1_CLOCK_GATE
@ -93,7 +90,6 @@ config SPI_DW_PORT_2_INTERRUPT_SINGLE_LINE
config SPI_DW_PORT_2_CLOCK_GATE
bool "Enable clock gating"
depends on CLOCK_CONTROL
default n
if SPI_DW_PORT_2_CLOCK_GATE
@ -120,7 +116,6 @@ config SPI_DW_PORT_3_INTERRUPT_SINGLE_LINE
config SPI_DW_PORT_3_CLOCK_GATE
bool "Enable clock gating"
depends on CLOCK_CONTROL
default n
if SPI_DW_PORT_3_CLOCK_GATE

View file

@ -10,7 +10,6 @@ menuconfig SPI_MCUX_DSPI
bool "MCUX SPI driver"
depends on HAS_MCUX && CLOCK_CONTROL
select HAS_DTS_SPI
default n
help
Enable support for mcux spi driver.

View file

@ -7,6 +7,5 @@ menuconfig SPI_SAM0
bool "Atmel SAM0 series SERCOM SPI driver"
depends on SOC_FAMILY_SAM0
select HAS_DTS_SPI
default n
help
Enable support for the SAM0 SERCOM SPI driver.

View file

@ -11,7 +11,6 @@ menuconfig SPI_STM32
depends on SPI && SOC_FAMILY_STM32
select HAS_DTS_SPI
select USE_STM32_LL_SPI
default n
help
Enable SPI support on the STM32 family of processors.
@ -24,7 +23,6 @@ config SPI_STM32_HAS_FIFO
config SPI_STM32_INTERRUPT
bool "STM32 MCU SPI Interrupt Support"
default n
help
Enable Interrupt support for the SPI Driver of STM32 family.