U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Jonker <jbx6244@gmail.com>
To: trini@konsulko.com
Cc: u-boot@lists.denx.de
Subject: [PATCH v1 00/18] Kconfig restyle part 2
Date: Wed, 10 Jun 2026 16:32:08 +0200	[thread overview]
Message-ID: <ef462dea-69aa-48df-9f7c-af2e6c54e52a@gmail.com> (raw)

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


             reply	other threads:[~2026-06-10 14:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-10 14:32 Johan Jonker [this message]
2026-06-10 14:37 ` [PATCH v1 01/18] Kconfig: boot: restyle Johan Jonker
2026-06-10 14:37 ` [PATCH v1 02/18] Kconfig: cmd: restyle Johan Jonker
2026-06-10 14:37 ` [PATCH v1 03/18] Kconfig: common: restyle Johan Jonker
2026-06-10 14:37 ` [PATCH v1 04/18] Kconfig: disk: restyle Johan Jonker
2026-06-10 14:38 ` [PATCH v1 05/18] Kconfig: dts: restyle Johan Jonker
2026-06-10 14:38 ` [PATCH v1 06/18] Kconfig: fs: restyle Johan Jonker
2026-06-10 14:38 ` [PATCH v1 07/18] Kconfig: lib: restyle Johan Jonker
2026-06-10 14:38 ` [PATCH v1 08/18] Kconfig: net: restyle Johan Jonker
2026-06-10 14:39 ` [PATCH v1 09/18] Kconfig: i2c: restyle Johan Jonker
2026-06-10 14:39 ` [PATCH v1 10/18] Kconfig: mtd: restyle Johan Jonker
2026-06-10 14:39 ` [PATCH v1 11/18] Kconfig: net: restyle Johan Jonker
2026-06-10 14:39 ` [PATCH v1 12/18] Kconfig: pinctrl: restyle Johan Jonker
2026-06-10 14:40 ` [PATCH v1 13/18] Kconfig: power: restyle Johan Jonker
2026-06-10 14:40 ` [PATCH v1 14/18] Kconfig: usb: restyle Johan Jonker
2026-06-10 14:40 ` [PATCH v1 15/18] Kconfig: video: restyle Johan Jonker
2026-06-10 14:41 ` [PATCH v1 16/18] Kconfig: gpio: add empty line Johan Jonker
2026-06-10 14:41 ` [PATCH v1 17/18] Kconfig: drivers: restyle remaining Johan Jonker
2026-06-10 14:41 ` [PATCH v1 18/18] Kconfig: restyle Johan Jonker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef462dea-69aa-48df-9f7c-af2e6c54e52a@gmail.com \
    --to=jbx6244@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox