zephyr/drivers/gpio/Kconfig.sch
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

42 lines
770 B
XML

# Kconfig.sch - Intel SCH GPIO configuration options
#
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_SCH
bool "Intel SCH GPIO controller"
depends on GPIO
help
Enable the SCH GPIO driver found on Intel boards
if GPIO_SCH
config GPIO_SCH_INIT_PRIORITY
int "Init priority"
depends on GPIO_SCH
default 60
help
Device driver initialization priority.
config GPIO_SCH_0
bool "Enable SCH GPIO port 0"
depends on GPIO_SCH
config GPIO_SCH_0_DEV_NAME
string "Name of the device"
depends on GPIO_SCH_0
default "GPIO_0"
config GPIO_SCH_1
bool "Enable SCH GPIO port 1"
depends on GPIO_SCH
config GPIO_SCH_1_DEV_NAME
string "Name of the device"
depends on GPIO_SCH_1
default "GPIO_1"
endif # GPIO_SCH