Linux-PM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2] cpuidle: Fix Kconfig indentation
@ 2019-11-21  3:19 Krzysztof Kozlowski
  2019-11-29 11:28 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-21  3:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Krzysztof Kozlowski, Rafael J. Wysocki, Daniel Lezcano, linux-pm

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"
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] cpuidle: Fix Kconfig indentation
  2019-11-21  3:19 [PATCH v2] cpuidle: Fix Kconfig indentation Krzysztof Kozlowski
@ 2019-11-29 11:28 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2019-11-29 11:28 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: linux-kernel, Daniel Lezcano, linux-pm

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!





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  3:19 [PATCH v2] cpuidle: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-29 11:28 ` Rafael J. Wysocki

Linux-PM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \
		linux-pm@vger.kernel.org
	public-inbox-index linux-pm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git