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

@ -27,7 +27,6 @@ source "drivers/display/Kconfig.dummy"
config FRAMEBUF_DISPLAY
# Hidden, selected by client drivers.
bool
default n
help
Enable framebuffer-based display 'helper' driver.