drivers: entropy: 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:16:34 +02:00 committed by Anas Nashif
parent 3ec8dd5744
commit 00ab5ed22a
5 changed files with 0 additions and 7 deletions

View file

@ -9,7 +9,6 @@
menuconfig ENTROPY_GENERATOR
bool
prompt "Entropy Drivers"
default n
help
Include entropy drivers in system config.
@ -23,7 +22,6 @@ source "drivers/entropy/Kconfig.native_posix"
config ENTROPY_HAS_DRIVER
bool
default n
help
This is an option to be enabled by individual entropy driver
to signal that there is a true entropy driver.

View file

@ -7,7 +7,6 @@
config ENTROPY_ESP32_RNG
bool "ESP32 entropy number generator driver"
depends on ENTROPY_GENERATOR && SOC_ESP32
default n
select ENTROPY_HAS_DRIVER
help
This option enables the entropy number generator for ESP32 SoCs.

View file

@ -7,7 +7,6 @@
menuconfig ENTROPY_MCUX_RNGA
bool "MCUX RNGA driver"
depends on ENTROPY_GENERATOR && HAS_MCUX_RNGA
default n
select ENTROPY_HAS_DRIVER
help
This option enables the random number generator accelerator (RNGA)
@ -16,7 +15,6 @@ menuconfig ENTROPY_MCUX_RNGA
menuconfig ENTROPY_MCUX_TRNG
bool "MCUX TRNG driver"
depends on ENTROPY_GENERATOR && HAS_MCUX_TRNG
default n
select ENTROPY_HAS_DRIVER
help
This option enables the true random number generator (TRNG)

View file

@ -2,7 +2,6 @@
menuconfig FAKE_ENTROPY_NATIVE_POSIX
bool "Native posix entropy driver"
depends on ENTROPY_GENERATOR && ARCH_POSIX
default n
select ENTROPY_HAS_DRIVER
help
This option enables the test random number generator for the

View file

@ -8,7 +8,6 @@ menuconfig ENTROPY_STM32_RNG
bool "STM32 RNG driver"
depends on SOC_FAMILY_STM32
depends on ENTROPY_GENERATOR
default n
select ENTROPY_HAS_DRIVER
select USE_STM32_LL_RNG
help