diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-14 01:50:22 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-14 01:57:21 +0900 |
commit | a7f7f6248d9740d710fd6bd190293fe5e16410ac (patch) | |
tree | dc59d36a552f7e25f909f5b2edc83f96c013befa /drivers/platform/mellanox/Kconfig | |
parent | e4a42c82e943b97ce124539fcd7a47445b43fa0d (diff) |
treewide: replace '---help---' in Kconfig files with 'help'
Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over
'---help---'"), the number of '---help---' has been gradually
decreasing, but there are still more than 2400 instances.
This commit finishes the conversion. While I touched the lines,
I also fixed the indentation.
There are a variety of indentation styles found.
a) 4 spaces + '---help---'
b) 7 spaces + '---help---'
c) 8 spaces + '---help---'
d) 1 space + 1 tab + '---help---'
e) 1 tab + '---help---' (correct indentation)
f) 1 tab + 1 space + '---help---'
g) 1 tab + 2 spaces + '---help---'
In order to convert all of them to 1 tab + 'help', I ran the
following commend:
$ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'drivers/platform/mellanox/Kconfig')
-rw-r--r-- | drivers/platform/mellanox/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/mellanox/Kconfig b/drivers/platform/mellanox/Kconfig index 56e037623b29..916b39dc11bc 100644 --- a/drivers/platform/mellanox/Kconfig +++ b/drivers/platform/mellanox/Kconfig @@ -6,7 +6,7 @@ menuconfig MELLANOX_PLATFORM bool "Platform support for Mellanox hardware" depends on X86 || ARM || ARM64 || COMPILE_TEST - ---help--- + help Say Y here to get to see options for platform support for Mellanox systems. This option alone does not add any kernel code. @@ -19,7 +19,7 @@ config MLXREG_HOTPLUG depends on REGMAP depends on HWMON depends on I2C - ---help--- + help This driver handles hot-plug events for the power suppliers, power cables and fans on the wide range Mellanox IB and Ethernet systems. |