diff mbox series

[v2] cpuidle: Fix Kconfig indentation

Message ID 1574306352-29264-1-git-send-email-krzk@kernel.org (mailing list archive)
State Mainlined, archived
Headers show
Series [v2] cpuidle: Fix Kconfig indentation | expand

Commit Message

Krzysztof Kozlowski Nov. 21, 2019, 3:19 a.m. UTC
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: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v1:
1. Fix also 7-space and tab+1 space indentation issues.
---
 drivers/cpuidle/Kconfig     | 16 ++++++++--------
 drivers/cpuidle/Kconfig.arm | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)

Comments

Rafael J. Wysocki Nov. 29, 2019, 11:28 a.m. UTC | #1
On Thursday, November 21, 2019 4:19:12 AM CET Krzysztof Kozlowski wrote:
> 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: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> 
> Changes since v1:
> 1. Fix also 7-space and tab+1 space indentation issues.
> ---
>  drivers/cpuidle/Kconfig     | 16 ++++++++--------
>  drivers/cpuidle/Kconfig.arm | 16 ++++++++--------
>  2 files changed, 16 insertions(+), 16 deletions(-)
> 
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
> index 88727b7c0d59..c0aeedd66f02 100644
> --- a/drivers/cpuidle/Kconfig
> +++ b/drivers/cpuidle/Kconfig
> @@ -16,7 +16,7 @@ config CPU_IDLE
>  if CPU_IDLE
>  
>  config CPU_IDLE_MULTIPLE_DRIVERS
> -        bool
> +	bool
>  
>  config CPU_IDLE_GOV_LADDER
>  	bool "Ladder governor (for periodic timer tick)"
> @@ -63,13 +63,13 @@ source "drivers/cpuidle/Kconfig.powerpc"
>  endmenu
>  
>  config HALTPOLL_CPUIDLE
> -       tristate "Halt poll cpuidle driver"
> -       depends on X86 && KVM_GUEST
> -       default y
> -       help
> -         This option enables halt poll cpuidle driver, which allows to poll
> -         before halting in the guest (more efficient than polling in the
> -         host via halt_poll_ns for some scenarios).
> +	tristate "Halt poll cpuidle driver"
> +	depends on X86 && KVM_GUEST
> +	default y
> +	help
> +	 This option enables halt poll cpuidle driver, which allows to poll
> +	 before halting in the guest (more efficient than polling in the
> +	 host via halt_poll_ns for some scenarios).
>  
>  endif
>  
> diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
> index d8530475493c..e91ab792d14d 100644
> --- a/drivers/cpuidle/Kconfig.arm
> +++ b/drivers/cpuidle/Kconfig.arm
> @@ -3,15 +3,15 @@
>  # ARM CPU Idle drivers
>  #
>  config ARM_CPUIDLE
> -        bool "Generic ARM/ARM64 CPU idle Driver"
> -        select DT_IDLE_STATES
> +	bool "Generic ARM/ARM64 CPU idle Driver"
> +	select DT_IDLE_STATES
>  	select CPU_IDLE_MULTIPLE_DRIVERS
> -        help
> -          Select this to enable generic cpuidle driver for ARM.
> -          It provides a generic idle driver whose idle states are configured
> -          at run-time through DT nodes. The CPUidle suspend backend is
> -          initialized by calling the CPU operations init idle hook
> -          provided by architecture code.
> +	help
> +	  Select this to enable generic cpuidle driver for ARM.
> +	  It provides a generic idle driver whose idle states are configured
> +	  at run-time through DT nodes. The CPUidle suspend backend is
> +	  initialized by calling the CPU operations init idle hook
> +	  provided by architecture code.
>  
>  config ARM_PSCI_CPUIDLE
>  	bool "PSCI CPU idle Driver"
> 

Applied as 5.5 material, thanks!
diff mbox series

Patch

diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
index 88727b7c0d59..c0aeedd66f02 100644
--- a/drivers/cpuidle/Kconfig
+++ b/drivers/cpuidle/Kconfig
@@ -16,7 +16,7 @@  config CPU_IDLE
 if CPU_IDLE
 
 config CPU_IDLE_MULTIPLE_DRIVERS
-        bool
+	bool
 
 config CPU_IDLE_GOV_LADDER
 	bool "Ladder governor (for periodic timer tick)"
@@ -63,13 +63,13 @@  source "drivers/cpuidle/Kconfig.powerpc"
 endmenu
 
 config HALTPOLL_CPUIDLE
-       tristate "Halt poll cpuidle driver"
-       depends on X86 && KVM_GUEST
-       default y
-       help
-         This option enables halt poll cpuidle driver, which allows to poll
-         before halting in the guest (more efficient than polling in the
-         host via halt_poll_ns for some scenarios).
+	tristate "Halt poll cpuidle driver"
+	depends on X86 && KVM_GUEST
+	default y
+	help
+	 This option enables halt poll cpuidle driver, which allows to poll
+	 before halting in the guest (more efficient than polling in the
+	 host via halt_poll_ns for some scenarios).
 
 endif
 
diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
index d8530475493c..e91ab792d14d 100644
--- a/drivers/cpuidle/Kconfig.arm
+++ b/drivers/cpuidle/Kconfig.arm
@@ -3,15 +3,15 @@ 
 # ARM CPU Idle drivers
 #
 config ARM_CPUIDLE
-        bool "Generic ARM/ARM64 CPU idle Driver"
-        select DT_IDLE_STATES
+	bool "Generic ARM/ARM64 CPU idle Driver"
+	select DT_IDLE_STATES
 	select CPU_IDLE_MULTIPLE_DRIVERS
-        help
-          Select this to enable generic cpuidle driver for ARM.
-          It provides a generic idle driver whose idle states are configured
-          at run-time through DT nodes. The CPUidle suspend backend is
-          initialized by calling the CPU operations init idle hook
-          provided by architecture code.
+	help
+	  Select this to enable generic cpuidle driver for ARM.
+	  It provides a generic idle driver whose idle states are configured
+	  at run-time through DT nodes. The CPUidle suspend backend is
+	  initialized by calling the CPU operations init idle hook
+	  provided by architecture code.
 
 config ARM_PSCI_CPUIDLE
 	bool "PSCI CPU idle Driver"