Skip to contentSkip to conversation

Kconfig: replace deprecated help word

PATCH In review Johan Jonker 2 participants 2 messages Jun 5

Subsystems (12)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig: replace deprecated help word

Replace deprecated help word.

---

find . -name 'Kconfig' -exec sed -i -e 's/---help---/help/g' {} \;

---
 arch/arm/cpu/armv7/Kconfig      |   8 +-
 arch/arm/mach-rockchip/Kconfig  |   2 +-
 arch/arm/mach-sunxi/Kconfig     | 126 ++++++++++++++++----------------
 arch/mips/Kconfig               |   2 +-
 drivers/gpio/Kconfig            |   2 +-
 drivers/i2c/Kconfig             |   2 +-
 drivers/net/phy/Kconfig         |   8 +-
 drivers/power/Kconfig           |  80 ++++++++++----------
 drivers/power/pmic/Kconfig      |  58 +++++++--------
 drivers/power/regulator/Kconfig |  58 +++++++--------
 drivers/spmi/Kconfig            |   6 +-
 drivers/usb/Kconfig             |  10 +--
 drivers/usb/eth/Kconfig         |  16 ++--
 drivers/usb/host/Kconfig        |  44 +++++------
 drivers/usb/musb-new/Kconfig    |   2 +-
 drivers/video/Kconfig           |  20 ++---
 16 files changed, 222 insertions(+), 222 deletions(-)
arch/arm/cpu/armv7/Kconfig +4 -4
index 3a3c1784e188..0f4018c709ba 100644
@@ -13,14 +13,14 @@ config ARMV7_NONSEC
 	bool "Enable support for booting in non-secure mode" if EXPERT
 	depends on CPU_V7_HAS_NONSEC
 	default y
-	---help---
+	help
 	Say Y here to enable support for booting in non-secure / SVC mode.
 
 config ARMV7_BOOT_SEC_DEFAULT
 	bool "Boot in secure mode by default" if EXPERT
 	depends on ARMV7_NONSEC
 	default y if ARCH_TEGRA
-	---help---
+	help
 	Say Y here to boot in secure mode by default even if non-secure mode
 	is supported. This option is useful to boot kernels which do not
 	suppport booting in non-secure mode. Only set this if you need it.
@@ -74,7 +74,7 @@ config ARMV7_VIRT
 	bool "Enable support for hardware virtualization" if EXPERT
 	depends on CPU_V7_HAS_VIRT && ARMV7_NONSEC
 	default y
-	---help---
+	help
 	Say Y here to boot in hypervisor (HYP) mode when booting non-secure.
 
 config ARMV7_PSCI
@@ -115,7 +115,7 @@ config ARMV7_LPAE
 	bool "Use LPAE page table format" if EXPERT
 	depends on CPU_V7A
 	default y if ARMV7_VIRT
-	---help---
+	help
 	Say Y here to use the long descriptor page table format. This is
 	required if U-Boot runs in HYP mode.
 
arch/arm/mach-rockchip/Kconfig +1 -1
index 108713488af1..2f3dea494f74 100644
@@ -659,7 +659,7 @@ config ROCKCHIP_BOOT_MODE_REG
 config ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON
 	bool "Disable device boot on power plug-in"
 	depends on PMIC_RK8XX
-	---help---
+	help
 	  Say Y here to prevent the device from booting up because of a plug-in
 	  event. When set, the device will boot briefly to determine why it was
 	  powered on, and if it was determined because of a plug-in event
arch/arm/mach-sunxi/Kconfig +63 -63

492 lines not on this page · raw message

arch/mips/Kconfig +1 -1
index 36612756294b..b23357440cd5 100644
@@ -351,7 +351,7 @@ config MIPS_RELOCATION_TABLE_SIZE
 	range 0x100 0x10000
 	default "0xc000" if TARGET_MALTA
 	default "0x8000"
-	---help---
+	help
 	  A table of relocation data will be appended to the U-Boot binary
 	  and parsed in relocate_code() to fix up all offsets in the relocated
 	  U-Boot.
drivers/gpio/Kconfig +1 -1
index 0b5466b39b8d..a824c7948eee 100644
@@ -459,7 +459,7 @@ config SUNXI_GPIO
 config SUNXI_NEW_PINCTRL
 	bool
 	depends on SUNXI_GPIO
-	---help---
+	help
 	The Allwinner D1 and other new SoCs use a different register map
 	for the GPIO block, which we need to know about in the SPL.
 
drivers/i2c/Kconfig +1 -1
index 55465dc1d463..306a7aa0d041 100644
@@ -110,7 +110,7 @@ config I2C_CROS_EC_TUNNEL
 config I2C_CROS_EC_LDO
 	bool "Provide access to LDOs on the Chrome OS EC"
 	depends on CROS_EC
-	---help---
+	help
 	On many Chromebooks the main PMIC is inaccessible to the AP. This is
 	often dealt with by using an I2C pass-through interface provided by
 	the EC. On some unfortunate models (e.g. Spring) the pass-through
drivers/net/phy/Kconfig +4 -4
index 0025c895f125..864b5aed2085 100644
@@ -317,13 +317,13 @@ config PHY_TERANETICS
 
 config PHY_TI
 	bool "Texas Instruments Ethernet PHYs support"
-	---help---
+	help
 	  Adds PHY registration support for TI PHYs.
 
 config PHY_TI_DP83867
 	select PHY_TI
 	bool "Texas Instruments Ethernet DP83867 PHY support"
-	---help---
+	help
 	  Adds support for the TI DP83867 1Gbit PHY.
 
 config SPL_PHY_TI_DP83867
@@ -333,13 +333,13 @@ config SPL_PHY_TI_DP83867
 config PHY_TI_DP83869
 	select PHY_TI
 	bool "Texas Instruments Ethernet DP83869 PHY support"
-	---help---
+	help
 	  Adds support for the TI DP83869 1Gbit PHY.
 
 config PHY_TI_GENERIC
 	select PHY_TI
 	bool "Texas Instruments Generic Ethernet PHYs support"
-	---help---
+	help
 	  Adds support for Generic TI PHYs that don't need special handling but
 	  the PHY name is associated with a PHY ID.
 
drivers/power/Kconfig +40 -40

318 lines not on this page · raw message

drivers/power/pmic/Kconfig +29 -29

227 lines not on this page · raw message

drivers/power/regulator/Kconfig +29 -29

232 lines not on this page · raw message

drivers/spmi/Kconfig +3 -3
index ab4878ebae4e..44305680357a 100644
@@ -3,7 +3,7 @@ menu "SPMI support"
 config SPMI
 	bool "Enable SPMI bus support"
 	depends on DM
-	---help---
+	help
 	  Select this to enable to support SPMI bus.
 	  SPMI (System Power Management Interface) bus is used
 	  to connect PMIC devices on various SoCs.
@@ -11,13 +11,13 @@ config SPMI
 config SPMI_MSM
 	bool "Support Qualcomm SPMI bus"
 	depends on SPMI
-	---help---
+	help
 	  Support SPMI bus implementation found on Qualcomm Snapdragon SoCs.
 
 config SPMI_SANDBOX
 	bool "Support for Sandbox SPMI bus"
 	depends on SPMI
-	---help---
+	help
 	  Demo SPMI bus implementation. Emulates part of PM8916 as single
           slave (0) on bus. It has 4 GPIO peripherals, pid 0xC0-0xC3.
 endmenu
drivers/usb/Kconfig +5 -5
index 93c5ee69b253..396a753fa060 100644
@@ -1,7 +1,7 @@
 menuconfig USB
 	bool "USB support"
 	select BLK
-	---help---
+	help
 	  Universal Serial Bus (USB) is a specification for a serial bus
 	  subsystem which offers higher speeds and more features than the
 	  traditional PC serial port.  The bus supplies power to peripherals
@@ -94,7 +94,7 @@ comment "USB peripherals"
 
 config USB_STORAGE
 	bool "USB Mass Storage support"
-	---help---
+	help
 	  Say Y here if you want to connect USB mass storage devices to your
 	  board's USB port.
 
@@ -103,7 +103,7 @@ config USB_KEYBOARD
 	depends on DM_USB
 	select DM_KEYBOARD
 	select SYS_STDIO_DEREGISTER
-	---help---
+	help
 	  Say Y here if you want to use a USB keyboard for U-Boot command line
 	  input.
 
@@ -111,7 +111,7 @@ config USB_ONBOARD_HUB
 	bool "Onboard USB hub support"
 	depends on DM_USB
 	select DEVRES
-	---help---
+	help
 	  Say Y here if you want to support discrete onboard USB hubs that
 	  don't require an additional control bus for initialization, but
 	  need some non-trivial form of initialization, such as enabling a
@@ -163,7 +163,7 @@ choice
 	prompt "USB keyboard polling"
 	default SYS_USB_EVENT_POLL_VIA_INT_QUEUE if ARCH_SUNXI
 	default SYS_USB_EVENT_POLL
-	---help---
+	help
 	  Enable a polling mechanism for USB keyboard.
 
 config SYS_USB_EVENT_POLL
drivers/usb/eth/Kconfig +8 -8
index 2f6bfa8e71b8..b9b77f467437 100644
@@ -1,6 +1,6 @@
 menuconfig USB_HOST_ETHER
 	bool "USB to Ethernet Controller Drivers"
-	---help---
+	help
 	  Say Y here if you would like to enable support for USB Ethernet
 	  adapters.
 
@@ -9,14 +9,14 @@ if USB_HOST_ETHER
 config USB_ETHER_ASIX
 	bool "ASIX AX8817X (USB 2.0) support"
 	depends on USB_HOST_ETHER
-	---help---
+	help
 	  Say Y here if you would like to support ASIX AX8817X based USB 2.0
 	  Ethernet Devices.
 
 config USB_ETHER_ASIX88179
 	bool "ASIX AX88179 (USB 3.0) support"
 	depends on USB_HOST_ETHER
-	---help---
+	help
 	  Say Y here if you would like to support ASIX AX88179 based USB 3.0
 	  Ethernet Devices.
 
@@ -24,7 +24,7 @@ config USB_ETHER_LAN75XX
 	bool "Microchip LAN75XX support"
 	depends on USB_HOST_ETHER
 	depends on PHYLIB
-	---help---
+	help
 	  Say Y here if you would like to support Microchip LAN75XX Hi-Speed
 	  USB 2.0 to 10/100/1000 Gigabit Ethernet controller.
 	  Supports 10Base-T/ 100Base-TX/1000Base-T.
@@ -34,7 +34,7 @@ config USB_ETHER_LAN78XX
 	bool "Microchip LAN78XX support"
 	depends on USB_HOST_ETHER
 	depends on PHYLIB
-	---help---
+	help
 	  Say Y here if you would like to support Microchip LAN78XX USB 3.1
 	  Gen 1 to 10/100/1000 Gigabit Ethernet controller.
 	  Supports 10Base-T/ 100Base-TX/1000Base-T.
@@ -43,14 +43,14 @@ config USB_ETHER_LAN78XX
 config USB_ETHER_MCS7830
 	bool "MOSCHIP MCS7830 (7730/7830/7832) suppport"
 	depends on USB_HOST_ETHER
-	---help---
+	help
 	  Say Y here if you would like to support MOSCHIP MCS7830 based
 	  (7730/7830/7832) USB 2.0 Ethernet Devices.
 
 config USB_ETHER_RTL8152
 	bool "Realtek RTL8152B/RTL8153 support"
 	depends on USB_HOST_ETHER
-	---help---
+	help
 	  Say Y here if you would like to support Realtek RTL8152B/RTL8153 base
 	  USB Ethernet Devices. This driver also supports compatible devices
 	  from Samsung, Lenovo, TP-LINK and Nvidia.
@@ -58,7 +58,7 @@ config USB_ETHER_RTL8152
 config USB_ETHER_SMSC95XX
 	bool "SMSC LAN95x support"
 	depends on USB_HOST_ETHER
-	---help---
+	help
 	  Say Y here if you would like to support SMSC LAN95xx based USB 2.0
 	  Ethernet Devices.
 
drivers/usb/host/Kconfig +22 -22

176 lines not on this page · raw message

drivers/usb/musb-new/Kconfig +1 -1
index f8daaddc657e..ae9c7f3a6efe 100644
@@ -81,7 +81,7 @@ config USB_MUSB_SUNXI
 	depends on PHY_SUN4I_USB
 	select USB_MUSB_PIO_ONLY
 	default y
-	---help---
+	help
 	Say y here to enable support for the sunxi OTG / DRC USB controller
 	used on almost all sunxi boards.
 
drivers/video/Kconfig +10 -10
index c2acc13139c0..f07e52cb39e1 100644
@@ -508,7 +508,7 @@ config FRAMEBUFFER_VESA_MODE
 
 config VIDEO_LCD_ANX9804
 	bool "ANX9804 bridge chip"
-	---help---
+	help
 	Support for the ANX9804 bridge chip, which can take pixel data coming
 	from a parallel LCD interface and translate it on the fy into a DP
 	interface for driving eDP TFT displays. It uses I2C for configuration.
@@ -654,7 +654,7 @@ config VIDEO_LCD_SHARP_LQ101R1SX01
 
 config VIDEO_LCD_SSD2828
 	bool "SSD2828 bridge chip"
-	---help---
+	help
 	Support for the SSD2828 bridge chip, which can take pixel data coming
 	from a parallel LCD interface and translate it on the fly into MIPI DSI
 	interface for driving a MIPI compatible LCD panel. It uses SPI for
@@ -664,7 +664,7 @@ config VIDEO_LCD_SSD2828_TX_CLK
 	int "SSD2828 TX_CLK frequency (in MHz)"
 	depends on VIDEO_LCD_SSD2828
 	default 0
-	---help---
+	help
 	The frequency of the crystal, which is clocking SSD2828. It may be
 	anything in the 8MHz-30MHz range and the exact value should be
 	retrieved from the board schematics. Or in the case of Allwinner
@@ -676,7 +676,7 @@ config VIDEO_LCD_SSD2828_RESET
 	string "RESET pin of SSD2828"
 	depends on VIDEO_LCD_SSD2828
 	default ""
-	---help---
+	help
 	The reset pin of SSD2828 chip. This takes a string in the format
 	understood by 'sunxi_name_to_gpio' function, e.g. PH1 for pin 1 of port H.
 
@@ -697,7 +697,7 @@ config VIDEO_LCD_HITACHI_TX10D07VM0BAA
 
 config VIDEO_LCD_HITACHI_TX18D42VM
 	bool "Hitachi tx18d42vm LVDS LCD panel support"
-	---help---
+	help
 	Support for Hitachi tx18d42vm LVDS LCD panels, these panels have a
 	lcd controller which needs to be initialized over SPI, once that is
 	done they work like a regular LVDS panel.
@@ -723,7 +723,7 @@ config VIDEO_LCD_SPI_CS
 	string "SPI CS pin for LCD related config job"
 	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
 	default ""
-	---help---
+	help
 	This is one of the SPI communication pins, involved in setting up a
 	working LCD configuration. The exact role of SPI may differ for
 	different hardware setups. The option takes a string in the format
@@ -733,7 +733,7 @@ config VIDEO_LCD_SPI_SCLK
 	string "SPI SCLK pin for LCD related config job"
 	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
 	default ""
-	---help---
+	help
 	This is one of the SPI communication pins, involved in setting up a
 	working LCD configuration. The exact role of SPI may differ for
 	different hardware setups. The option takes a string in the format
@@ -743,7 +743,7 @@ config VIDEO_LCD_SPI_MOSI
 	string "SPI MOSI pin for LCD related config job"
 	depends on VIDEO_LCD_SSD2828 || VIDEO_LCD_HITACHI_TX18D42VM
 	default ""
-	---help---
+	help
 	This is one of the SPI communication pins, involved in setting up a
 	working LCD configuration. The exact role of SPI may differ for
 	different hardware setups. The option takes a string in the format
@@ -753,7 +753,7 @@ config VIDEO_LCD_SPI_MISO
 	string "SPI MISO pin for LCD related config job (optional)"
 	depends on VIDEO_LCD_SSD2828
 	default ""
-	---help---
+	help
 	This is one of the SPI communication pins, involved in setting up a
 	working LCD configuration. The exact role of SPI may differ for
 	different hardware setups. If wired up, this pin may provide additional
@@ -768,7 +768,7 @@ config VIDEO_MVEBU
 	bool "Armada XP LCD controller"
 	depends on ARCH_MVEBU
 	imply VIDEO_DAMAGE
-	---help---
+	help
 	Support for the LCD controller integrated in the Marvell
 	Armada XP SoC.
 

--
2.39.5

#1 lore raw
Quoted 6 lines · Johan Jonker

Replace deprecated help word.

---

find . -name 'Kconfig' -exec sed -i -e 's/---help---/help/g' {} \;

I appreciate the thought but the problem is that then the text needs to be indented too by two spaces. Since there's 222 of them and some will also require re-wrapping, it's not a small task unfortunately.

Signature · 1 line
Tom