kconfig: Remove redundant 'default n' and 'prompt' 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.

Also replace some

    config
    	prompt "foo"
    	bool/int

with the more common shorthand

    config
    	bool/int "foo"

See the 'Style recommendations and shorthands' section in
https://docs.zephyrproject.org/latest/guides/kconfig/index.html.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-12-02 16:57:17 +01:00 committed by Ioannis Glaropoulos
commit 87e917a925
20 changed files with 14 additions and 52 deletions

View file

@ -10,7 +10,9 @@ menuconfig LOAPIC
depends on X86
help
This option selects local APIC as the interrupt controller.
if LOAPIC
config LOAPIC_BASE_ADDRESS
hex "Local APIC Base Address"
default 0xFEE00000
@ -19,7 +21,6 @@ config LOAPIC_BASE_ADDRESS
config X2APIC
bool "Access local APIC in x2APIC mode"
default n
help
If your local APIC supports x2APIC mode, turn this on.