[PATCH v1 00/18] Kconfig restyle part 2
Johan Jonker
jbx6244 at gmail.com
Wed Jun 10 16:32:08 CEST 2026
The Kconfig menu attribute '---help---' is deprecated.
If we change to "help" the text has to indent.
This again has to align with other attributes,
so we have to restyle them as well.
And as there's a script then change all Kconfig files
excluding 'arch' and 'board' directories from part 1.
Restyle all Kconfigs:
Menu entries : no space left
Menu attributes: 1 TAB
Help text : 1 TAB + 2 spaces
Replace '---help---' by 'help'
Problems:
People creating indents in help texts.
The script doesn't care. It puts everything left aligned.
Help texts with empty lines. It stops aligning as help test.
Other fixes:
While using checkpatch.pl or the script some issues showed up,
so fix them as well.
Johan Jonker (18):
Kconfig: boot: restyle
Kconfig: cmd: restyle
Kconfig: common: restyle
Kconfig: disk: restyle
Kconfig: dts: restyle
Kconfig: fs: restyle
Kconfig: lib: restyle
Kconfig: net: restyle
Kconfig: i2c: restyle
Kconfig: mtd: restyle
Kconfig: net: restyle
Kconfig: pinctrl: restyle
Kconfig: power: restyle
Kconfig: usb: restyle
Kconfig: video: restyle
Kconfig: gpio: add empty line
Kconfig: drivers: restyle remaining
Kconfig: restyle
Kconfig | 14 +-
boot/Kconfig | 10 +-
cmd/Kconfig | 74 +++---
cmd/ti/Kconfig | 18 +-
common/Kconfig | 8 +-
common/spl/Kconfig | 34 +--
disk/Kconfig | 6 +-
drivers/adc/Kconfig | 2 +-
drivers/block/Kconfig | 8 +-
drivers/bootcount/Kconfig | 4 +-
drivers/clk/Kconfig | 4 +-
drivers/clk/owl/Kconfig | 8 +-
drivers/clk/renesas/Kconfig | 8 +-
drivers/crypto/aspeed/Kconfig | 4 +-
drivers/crypto/fsl/Kconfig | 10 +-
drivers/ddr/fsl/Kconfig | 4 +-
drivers/dma/ti/Kconfig | 16 +-
drivers/gpio/Kconfig | 49 ++--
drivers/i2c/Kconfig | 140 +++++------
drivers/i2c/muxes/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/memory/Kconfig | 16 +-
drivers/mfd/Kconfig | 6 +-
drivers/misc/Kconfig | 8 +-
drivers/mmc/Kconfig | 8 +-
drivers/mtd/Kconfig | 20 +-
drivers/mtd/nand/raw/Kconfig | 70 +++---
drivers/mtd/spi/Kconfig | 54 ++---
drivers/mtd/ubi/Kconfig | 4 +-
drivers/mux/Kconfig | 12 +-
drivers/net/Kconfig | 48 ++--
drivers/net/phy/Kconfig | 18 +-
drivers/net/ti/Kconfig | 4 +-
drivers/pci/Kconfig | 16 +-
drivers/pci_endpoint/Kconfig | 8 +-
drivers/phy/Kconfig | 14 +-
drivers/phy/qcom/Kconfig | 2 +-
drivers/pinctrl/broadcom/Kconfig | 8 +-
drivers/pinctrl/mediatek/Kconfig | 2 +-
drivers/pinctrl/mscc/Kconfig | 20 +-
drivers/pinctrl/mvebu/Kconfig | 12 +-
drivers/pinctrl/qcom/Kconfig | 10 +-
drivers/power/Kconfig | 364 ++++++++++++++--------------
drivers/power/domain/Kconfig | 8 +-
drivers/power/pmic/Kconfig | 348 +++++++++++++--------------
drivers/power/regulator/Kconfig | 398 +++++++++++++++----------------
drivers/ram/aspeed/Kconfig | 10 +-
drivers/ram/octeon/Kconfig | 6 +-
drivers/ram/stm32mp1/Kconfig | 36 +--
drivers/reboot-mode/Kconfig | 18 +-
drivers/rtc/Kconfig | 4 +-
drivers/serial/Kconfig | 16 +-
drivers/smem/Kconfig | 30 +--
drivers/soc/ti/Kconfig | 4 +-
drivers/spi/Kconfig | 28 +--
drivers/spmi/Kconfig | 8 +-
drivers/thermal/Kconfig | 32 +--
drivers/ufs/Kconfig | 4 +-
drivers/usb/Kconfig | 16 +-
drivers/usb/eth/Kconfig | 16 +-
drivers/usb/gadget/Kconfig | 22 +-
drivers/usb/host/Kconfig | 44 ++--
drivers/usb/musb-new/Kconfig | 14 +-
drivers/video/Kconfig | 178 +++++++-------
drivers/video/bridge/Kconfig | 4 +-
drivers/video/imx/Kconfig | 2 +-
drivers/video/rockchip/Kconfig | 4 +-
drivers/video/tegra/Kconfig | 42 ++--
drivers/video/ti/Kconfig | 2 +-
drivers/video/zynqmp/Kconfig | 6 +-
drivers/watchdog/Kconfig | 8 +-
dts/Kconfig | 26 +-
fs/fat/Kconfig | 2 +-
lib/rsa/Kconfig | 8 +-
net/Kconfig | 20 +-
net/lwip/Kconfig | 2 +-
76 files changed, 1258 insertions(+), 1257 deletions(-)
--
2.39.5
More information about the U-Boot
mailing list