treewide: replace '---help---' in Kconfig files with 'help'
Since commit 84af7a6194 ("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>
This commit is contained in:
@@ -18,7 +18,7 @@ if INPUT_JOYSTICK
|
||||
config JOYSTICK_ANALOG
|
||||
tristate "Classic PC analog joysticks and gamepads"
|
||||
select GAMEPORT
|
||||
---help---
|
||||
help
|
||||
Say Y here if you have a joystick that connects to the PC
|
||||
gameport. In addition to the usual PC analog joystick, this driver
|
||||
supports many extensions, including joysticks with throttle control,
|
||||
@@ -225,7 +225,7 @@ config JOYSTICK_GAMECON
|
||||
tristate "Multisystem, NES, SNES, N64, PSX joysticks and gamepads"
|
||||
depends on PARPORT
|
||||
select INPUT_FF_MEMLESS
|
||||
---help---
|
||||
help
|
||||
Say Y here if you have a Nintendo Entertainment System gamepad,
|
||||
Super Nintendo Entertainment System gamepad, Nintendo 64 gamepad,
|
||||
Sony PlayStation gamepad or a Multisystem -- Atari, Amiga,
|
||||
@@ -298,13 +298,13 @@ config JOYSTICK_XPAD_FF
|
||||
bool "X-Box gamepad rumble support"
|
||||
depends on JOYSTICK_XPAD && INPUT
|
||||
select INPUT_FF_MEMLESS
|
||||
---help---
|
||||
help
|
||||
Say Y here if you want to take advantage of xbox 360 rumble features.
|
||||
|
||||
config JOYSTICK_XPAD_LEDS
|
||||
bool "LED Support for Xbox360 controller 'BigX' LED"
|
||||
depends on JOYSTICK_XPAD && (LEDS_CLASS=y || LEDS_CLASS=JOYSTICK_XPAD)
|
||||
---help---
|
||||
help
|
||||
This option enables support for the LED which surrounds the Big X on
|
||||
XBox 360 controller.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user