subsys: kconfig: Remove 'default n' properties and clean up a bit

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.

Remove some 'default ""' properties on string symbols too.

Also make definitions more consistent by converting some

  config FOO
  	<type>
  	prompt "foo"

definitions to a shorter form:

  config FOO
  	<type> "foo"

This shorthand works for int/hex/string symbols too, not just for bool
symbols.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2018-07-12 13:26:29 +02:00 committed by Anas Nashif
commit 1073882998
48 changed files with 117 additions and 416 deletions

View file

@ -10,17 +10,13 @@
#
menuconfig FLASH_MAP
bool
prompt "Flash map abstraction module"
default n
bool "Flash map abstraction module"
depends on FLASH_HAS_DRIVER_ENABLED
help
Enable support of flash map abstraction.
config FLASH_MAP_CUSTOM
bool
prompt "Custom flash map description"
default n
bool "Custom flash map description"
depends on FLASH_MAP
help
This option enables custom flash map description.