Consistently use
config FOO
bool/int/hex/string "Prompt text"
instead of
config FOO
bool/int/hex/string
prompt "Prompt text"
(...and a bunch of other variations that e.g. swapped the order of the
type and the 'prompt', or put other properties between them).
The shorthand is fully equivalent to using 'prompt'. It saves lines and
avoids tricking people into thinking there is some semantic difference.
Most of the grunt work was done by a modified version of
https://unix.stackexchange.com/questions/26284/
how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some
of the rarer variations had to be converted manually.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
21 lines
302 B
Plaintext
21 lines
302 B
Plaintext
# Kconfig - Display drivers
|
|
|
|
#
|
|
# Copyright (c) 2017 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig DISPLAY
|
|
bool "Display Drivers"
|
|
help
|
|
Enable display drivers
|
|
|
|
if DISPLAY
|
|
|
|
source "drivers/display/Kconfig.microbit"
|
|
|
|
source "drivers/display/Kconfig.ili9340"
|
|
|
|
endif # DISPLAY
|