Skip to contentSkip to conversation

h8300: Kconfig: Style cleanups

PATCH New Juerg Haefliger 1 participant 3 messages May 24, 2022

lore
Share & tools
lore
#0 lore raw

cover h8300: Kconfig: Style cleanups

The majority of the Kconfig files use a single tab for basic indentation and a single tab followed by two whitespaces for help text indentation. Fix the lines that don't follow this convention.

Juerg Haefliger (2):
h8300: Kconfig: Fix indentation
h8300: Kconfig.cpu: Fix indentation

 arch/h8300/Kconfig     | 4 ++--
 arch/h8300/Kconfig.cpu | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.32.0
#1 lore raw

PATCH 1/2 h8300: Kconfig: Fix indentation

The convention for indentation seems to be a single tab. Help text is further indented by an additional two whitespaces. Fix the lines that violate these rules.

---
 arch/h8300/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/h8300/Kconfig +2 -2
index fe48c4f26cc8..0dc57672d93e 100644
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 config H8300
-        def_bool y
+	def_bool y
 	select ARCH_32BIT_OFF_T
 	select ARCH_HAS_BINFMT_FLAT
 	select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
@@ -36,7 +36,7 @@ config NO_IOPORT_MAP
 	def_bool y
 
 config GENERIC_CSUM
-        def_bool y
+	def_bool y
 
 config HZ
 	int
Signature · 1 line
2.32.0
#2 lore raw

PATCH 2/2 h8300: Kconfig.cpu: Fix indentation

In reply to Juerg Haefliger

The convention for indentation seems to be a single tab. Help text is further indented by an additional two whitespaces. Fix the lines that violate these rules.

---
 arch/h8300/Kconfig.cpu | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/h8300/Kconfig.cpu +3 -3
index c30baa0499fc..172e8be0f0c3 100644
@@ -26,7 +26,7 @@ config ROMKERNEL
 menu "Processor type and features"
 
 choice
-prompt "H8/300 platform"
+	prompt "H8/300 platform"
 
 config H8300_AE3068
 	bool "AE-3068/69"
@@ -89,11 +89,11 @@ config H8S_SIM
 endchoice
 
 config H8300_BUILTIN_DTB
-        string "Builtin DTB"
+	string "Builtin DTB"
 	default ""
 
 config OFFSET
-        hex "Load offset"
+	hex "Load offset"
 	default 0
 
 endmenu
Signature · 1 line
2.32.0