From a7f7f6248d9740d710fd6bd190293fe5e16410ac Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 14 Jun 2020 01:50:22 +0900 Subject: 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 --- drivers/net/ethernet/mellanox/mlxsw/Kconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'drivers/net/ethernet/mellanox/mlxsw/Kconfig') diff --git a/drivers/net/ethernet/mellanox/mlxsw/Kconfig b/drivers/net/ethernet/mellanox/mlxsw/Kconfig index f458fd1ce9f8..872e9910bb7c 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/Kconfig +++ b/drivers/net/ethernet/mellanox/mlxsw/Kconfig @@ -6,7 +6,7 @@ config MLXSW_CORE tristate "Mellanox Technologies Switch ASICs support" select NET_DEVLINK - ---help--- + help This driver supports Mellanox Technologies Switch ASICs family. To compile this driver as a module, choose M here: the @@ -17,14 +17,14 @@ config MLXSW_CORE_HWMON depends on MLXSW_CORE && HWMON depends on !(MLXSW_CORE=y && HWMON=m) default y - ---help--- + help Say Y here if you want to expose HWMON interface on mlxsw devices. config MLXSW_CORE_THERMAL bool "Thermal zone support for Mellanox Technologies Switch ASICs" depends on MLXSW_CORE && THERMAL default y - ---help--- + help Say Y here if you want to automatically control fans speed according ambient temperature reported by ASIC. @@ -32,7 +32,7 @@ config MLXSW_PCI tristate "PCI bus implementation for Mellanox Technologies Switch ASICs" depends on PCI && HAS_IOMEM && MLXSW_CORE default m - ---help--- + help This is PCI bus implementation for Mellanox Technologies Switch ASICs. To compile this driver as a module, choose M here: the @@ -42,7 +42,7 @@ config MLXSW_I2C tristate "I2C bus implementation for Mellanox Technologies Switch ASICs" depends on I2C && MLXSW_CORE default m - ---help--- + help This is I2C bus implementation for Mellanox Technologies Switch ASICs. To compile this driver as a module, choose M here: the @@ -52,7 +52,7 @@ config MLXSW_SWITCHIB tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support" depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV default m - ---help--- + help This driver supports Mellanox Technologies SwitchIB and SwitchIB-2 Infiniband Switch ASICs. @@ -63,7 +63,7 @@ config MLXSW_SWITCHX2 tristate "Mellanox Technologies SwitchX-2 support" depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV default m - ---help--- + help This driver supports Mellanox Technologies SwitchX-2 Ethernet Switch ASICs. @@ -86,7 +86,7 @@ config MLXSW_SPECTRUM imply PTP_1588_CLOCK select NET_PTP_CLASSIFY if PTP_1588_CLOCK default m - ---help--- + help This driver supports Mellanox Technologies Spectrum/Spectrum-2/Spectrum-3 Ethernet Switch ASICs. @@ -97,7 +97,7 @@ config MLXSW_SPECTRUM_DCB bool "Data Center Bridging (DCB) support" depends on MLXSW_SPECTRUM && DCB default y - ---help--- + help Say Y here if you want to use Data Center Bridging (DCB) in the driver. @@ -105,7 +105,7 @@ config MLXSW_MINIMAL tristate "Mellanox Technologies minimal I2C support" depends on MLXSW_CORE && MLXSW_I2C default m - ---help--- + help This driver supports I2C access for Mellanox Technologies Switch ASICs. -- cgit