[PATCH 1/2] Fix Kconfig coding style from spaces to tab

Anand Moon linux.amoon at gmail.com
Thu Aug 1 06:47:06 PDT 2024


Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
	$ sed -e 's/^        /\t/' -i */Kconfig

Signed-off-by: Anand Moon <linux.amoon at gmail.com>
---
 arch/Kconfig     |  2 +-
 commands/Kconfig | 10 +++++-----
 lib/Kconfig      | 16 ++++++++--------
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index 2212b89288..ad47dbf78d 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -17,4 +17,4 @@ config ARCH_HAS_CTRLC
 # by default.
 #
 config ARCH_DMA_DEFAULT_COHERENT
-        bool
+	bool
diff --git a/commands/Kconfig b/commands/Kconfig
index 5b512f1bba..b72344f021 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -97,10 +97,10 @@ config CMD_DEVLOOKUP
 
 	  devlookup [-v VAR] /dev/DEVICE [parameter]
 
-          Detects the device behind a device file and outputs it,
-          unless a second argument is given. In that case the device
-          parameter with that name is looked up. Specifying -v VARIABLE
-          will write output to VARIABLE instead of printing it.
+	  Detects the device behind a device file and outputs it,
+	  unless a second argument is given. In that case the device
+	  parameter with that name is looked up. Specifying -v VARIABLE
+	  will write output to VARIABLE instead of printing it.
 
 config CMD_DEVUNBIND
 	tristate
@@ -2331,7 +2331,7 @@ config CMD_OF_PROPERTY
 
 	  Valid formats for values:
 	  <0x00112233 4 05> - an array of cells. cells not beginning with a digit are
-                    interpreted as node paths and converted to phandles
+	            interpreted as node paths and converted to phandles
 	  [00 11 22 .. nn]  - byte stream
 	  If the value does not start with '<' or '[' it is interpreted as string
 
diff --git a/lib/Kconfig b/lib/Kconfig
index df9ba6ccc9..44133a54f3 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -45,22 +45,22 @@ config XZ_DECOMPRESS
 	select XZ_DEC_ARM64
 
 config XZ_DEC_X86
-        bool
+	bool
 
 config XZ_DEC_POWERPC
-        bool
+	bool
 
 config XZ_DEC_IA64
-        bool
+	bool
 
 config XZ_DEC_ARM
-        bool
+	bool
 
 config XZ_DEC_ARMTHUMB
-        bool
+	bool
 
 config XZ_DEC_SPARC
-        bool
+	bool
 
 config XZ_DEC_ARM64
 	bool
@@ -152,7 +152,7 @@ config CRC_CCITT
 	  functions require M here.
 
 config CRC8
-        bool "CRC8 function"
+	bool "CRC8 function"
 	help
 	  This option provides CRC8 function. Drivers may select this
 	  when they need to do cyclic redundancy check according CRC8
@@ -204,7 +204,7 @@ config GENERIC_LIB_MULDI3
 	bool
 
 config NLS
-        bool "Native language support"
+	bool "Native language support"
 
 config BLOBGEN
 	select BASE64
-- 
2.44.0




More information about the barebox mailing list