zephyr/drivers/gpio/Kconfig.cc2650
Ulf Magnusson 8cf8db3a73 Kconfig: Use a short, consistent style for prompts
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>
2018-08-15 04:10:10 -07:00

24 lines
495 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
#
# GPIO configuration options for the CC2650 SoC (Texas Instruments).
menuconfig GPIO_CC2650
bool "TI CC2650 GPIO driver"
depends on GPIO && SOC_SERIES_CC2650
help
Enable the GPIO driver on boards equipped with TI CC2650.
if GPIO_CC2650
# A single block of GPIO exist.
config GPIO_CC2650_NAME
string "GPIO driver name."
default "GPIO_0"
config GPIO_CC2650_INIT_PRIO
int "GPIO driver initialization priority."
default 40
endif # GPIO_CC2650