kconfig: Global whitespace/consistency cleanup
Clean up space errors and use a consistent style throughout the Kconfig files. This makes reading the Kconfig files more distraction-free, helps with grepping, and encourages the same style getting copied around everywhere (meaning another pass hopefully won't be needed). Go for the most common style: - Indent properties with a single tab, including for choices. Properties on choices work exactly the same syntactically as properties on symbols, so not sure how the no-indentation thing happened. - Indent help texts with a tab followed by two spaces - Put a space between 'config' and the symbol name, not a tab. This also helps when grepping for definitions. - Do '# A comment' instead of '#A comment' I tweaked Kconfiglib a bit to find most of the stuff. Some help texts were reflowed to 79 columns with 'gq' in Vim as well, though not all, because I was afraid I'd accidentally mess up formatting. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
9555f82d28
commit
975de21858
197 changed files with 657 additions and 658 deletions
|
@ -34,7 +34,7 @@ config NET_PPP_VERIFY_FCS
|
|||
to disable this as it takes some time to verify the received
|
||||
packet.
|
||||
|
||||
config PPP_MAC_ADDR
|
||||
config PPP_MAC_ADDR
|
||||
string "MAC address for the interface"
|
||||
help
|
||||
Specify a MAC address for the PPP interface in the form of
|
||||
|
@ -63,7 +63,7 @@ menuconfig SLIP
|
|||
|
||||
if SLIP
|
||||
|
||||
config SLIP_DRV_NAME
|
||||
config SLIP_DRV_NAME
|
||||
string "SLIP Driver name"
|
||||
default "slip"
|
||||
help
|
||||
|
@ -75,7 +75,7 @@ module-str = Log level for slip driver
|
|||
module-help = Sets log level for slip driver.
|
||||
source "subsys/net/Kconfig.template.log_config.net"
|
||||
|
||||
config SLIP_STATISTICS
|
||||
config SLIP_STATISTICS
|
||||
bool "SLIP network connection statistics"
|
||||
help
|
||||
This option enables statistics support for SLIP driver.
|
||||
|
@ -87,8 +87,7 @@ config SLIP_TAP
|
|||
help
|
||||
In TAP the Ethernet frames are transferred over SLIP.
|
||||
|
||||
|
||||
config SLIP_MAC_ADDR
|
||||
config SLIP_MAC_ADDR
|
||||
string "MAC address for the interface"
|
||||
help
|
||||
Specify a MAC address for the SLIP interface in the form of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue