drivers: ieee802154: 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 14:05:42 +02:00 committed by Anas Nashif
commit a81bc32677
6 changed files with 0 additions and 15 deletions

View file

@ -11,7 +11,6 @@
# #
menuconfig IEEE802154 menuconfig IEEE802154
bool "IEEE 802.15.4 drivers options" bool "IEEE 802.15.4 drivers options"
default n
default y if NET_L2_IEEE802154 || NET_L2_OPENTHREAD default y if NET_L2_IEEE802154 || NET_L2_OPENTHREAD
if IEEE802154 if IEEE802154
@ -37,7 +36,6 @@ config SYS_LOG_IEEE802154_DRIVER_LEVEL
config IEEE802154_RAW_MODE config IEEE802154_RAW_MODE
bool "Use IEEE 802.15.4 driver without the MAC stack" bool "Use IEEE 802.15.4 driver without the MAC stack"
default n if NET_L2_IEEE802154
select NET_RAW_MODE select NET_RAW_MODE
help help
This option enables using the drivers in a so-called "raw" mode, This option enables using the drivers in a so-called "raw" mode,
@ -59,7 +57,6 @@ menuconfig IEEE802154_UPIPE
bool "UART PIPE fake radio driver support for QEMU" bool "UART PIPE fake radio driver support for QEMU"
depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING
select UART_PIPE select UART_PIPE
default n
config IEEE802154_UPIPE_DRV_NAME config IEEE802154_UPIPE_DRV_NAME
string "UART PIPE Driver name" string "UART PIPE Driver name"

View file

@ -5,7 +5,6 @@ menuconfig IEEE802154_CC1200
bool "TI CC1200 Driver support" bool "TI CC1200 Driver support"
depends on NETWORKING depends on NETWORKING
select NET_L2_IEEE802154_SUB_GHZ select NET_L2_IEEE802154_SUB_GHZ
default n
if IEEE802154_CC1200 if IEEE802154_CC1200
@ -39,7 +38,6 @@ config IEEE802154_CC1200_SPI_SLAVE
config IEEE802154_CC1200_GPIO_SPI_CS config IEEE802154_CC1200_GPIO_SPI_CS
bool "Manage SPI CS through a GPIO pin" bool "Manage SPI CS through a GPIO pin"
default n
help help
This option is useful if one needs to manage SPI CS through a GPIO This option is useful if one needs to manage SPI CS through a GPIO
pin to by-pass the SPI controller's CS logic. pin to by-pass the SPI controller's CS logic.

View file

@ -9,7 +9,6 @@
menuconfig IEEE802154_CC2520 menuconfig IEEE802154_CC2520
bool "TI CC2520 Driver support" bool "TI CC2520 Driver support"
depends on NETWORKING depends on NETWORKING
default n
if IEEE802154_CC2520 if IEEE802154_CC2520
@ -43,7 +42,6 @@ config IEEE802154_CC2520_SPI_SLAVE
config IEEE802154_CC2520_GPIO_SPI_CS config IEEE802154_CC2520_GPIO_SPI_CS
bool "Manage SPI CS through a GPIO pin" bool "Manage SPI CS through a GPIO pin"
default n
help help
This option is useful if one needs to manage SPI CS through a GPIO This option is useful if one needs to manage SPI CS through a GPIO
pin to by-pass the SPI controller's CS logic. pin to by-pass the SPI controller's CS logic.
@ -121,7 +119,6 @@ endif # IEEE802154_CC2520_RANDOM_MAC
config IEEE802154_CC2520_CRYPTO config IEEE802154_CC2520_CRYPTO
bool "Enable hardware crypto helper on cc2520" bool "Enable hardware crypto helper on cc2520"
default n
depends on NET_L2_IEEE802154_SECURITY depends on NET_L2_IEEE802154_SECURITY
help help
This option will expose the hardware AES encryption from CC2520. This option will expose the hardware AES encryption from CC2520.

View file

@ -10,7 +10,6 @@ menuconfig IEEE802154_KW41Z
bool "NXP KW41Z Driver support" bool "NXP KW41Z Driver support"
depends on NETWORKING depends on NETWORKING
select NEWLIB_LIBC select NEWLIB_LIBC
default n
if IEEE802154_KW41Z if IEEE802154_KW41Z
@ -30,7 +29,6 @@ config IEEE802154_KW41Z_INIT_PRIO
config KW41_DBG_TRACE config KW41_DBG_TRACE
bool "Enabled simplified debug tracing of events" bool "Enabled simplified debug tracing of events"
default n
help help
The value depends on your debugging needs. This generates an encoded The value depends on your debugging needs. This generates an encoded
trace of events without going to debug logging to avoid timing impact trace of events without going to debug logging to avoid timing impact

View file

@ -9,7 +9,6 @@
menuconfig IEEE802154_MCR20A menuconfig IEEE802154_MCR20A
bool "NXP MCR20A Driver support" bool "NXP MCR20A Driver support"
depends on NETWORKING && SPI depends on NETWORKING && SPI
default n
if IEEE802154_MCR20A if IEEE802154_MCR20A
@ -47,7 +46,6 @@ endif # !HAS_DTS_SPI_DEVICE
config IEEE802154_MCR20A_GPIO_SPI_CS config IEEE802154_MCR20A_GPIO_SPI_CS
bool "Manage SPI CS through a GPIO pin" bool "Manage SPI CS through a GPIO pin"
default n
help help
This option is useful if one needs to manage SPI CS through a GPIO This option is useful if one needs to manage SPI CS through a GPIO
pin to by-pass the SPI controller's CS logic. pin to by-pass the SPI controller's CS logic.
@ -56,7 +54,6 @@ if !HAS_DTS_SPI_PINS
config IEEE802154_MCR20A_GPIO_SPI_CS_DRV_NAME config IEEE802154_MCR20A_GPIO_SPI_CS_DRV_NAME
string "GPIO driver's name to use to drive SPI CS through" string "GPIO driver's name to use to drive SPI CS through"
default ""
depends on IEEE802154_MCR20A_GPIO_SPI_CS depends on IEEE802154_MCR20A_GPIO_SPI_CS
help help
This option is mandatory to set which GPIO controller to use in order This option is mandatory to set which GPIO controller to use in order
@ -92,7 +89,6 @@ endif # !HAS_DTS_GPIO_DEVICE
config MCR20A_IS_PART_OF_KW2XD_SIP config MCR20A_IS_PART_OF_KW2XD_SIP
bool "MCR20A device is part of KW2xD SiP" bool "MCR20A device is part of KW2xD SiP"
default n
help help
If this option is set, the driver does not perform a hardware If this option is set, the driver does not perform a hardware
reset and the CLK_OUT frequency is not set, instead these settings reset and the CLK_OUT frequency is not set, instead these settings

View file

@ -10,7 +10,6 @@ menuconfig IEEE802154_NRF5
bool "nRF52 series IEEE 802.15.4 Driver" bool "nRF52 series IEEE 802.15.4 Driver"
depends on NETWORKING && SOC_NRF52840 depends on NETWORKING && SOC_NRF52840
select HAS_NORDIC_DRIVERS select HAS_NORDIC_DRIVERS
default n
if IEEE802154_NRF5 if IEEE802154_NRF5