* [PATCH v2] cpufreq: Fix Kconfig indentation
@ 2019-11-21 3:19 Krzysztof Kozlowski
2019-11-21 5:33 ` Viresh Kumar
2019-11-29 11:29 ` Rafael J. Wysocki
0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-21 3:19 UTC (permalink / raw)
To: linux-kernel
Cc: Krzysztof Kozlowski, Rafael J. Wysocki, Viresh Kumar, 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/cpufreq/Kconfig.powerpc | 8 ++++----
drivers/cpufreq/Kconfig.x86 | 16 ++++++++--------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/cpufreq/Kconfig.powerpc b/drivers/cpufreq/Kconfig.powerpc
index 35b4f700f054..58151ca56695 100644
--- a/drivers/cpufreq/Kconfig.powerpc
+++ b/drivers/cpufreq/Kconfig.powerpc
@@ -48,9 +48,9 @@ config PPC_PASEMI_CPUFREQ
PWRficient processors.
config POWERNV_CPUFREQ
- tristate "CPU frequency scaling for IBM POWERNV platform"
- depends on PPC_POWERNV
- default y
- help
+ tristate "CPU frequency scaling for IBM POWERNV platform"
+ depends on PPC_POWERNV
+ default y
+ help
This adds support for CPU frequency switching on IBM POWERNV
platform
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
index dfa6457deaf6..a6528388952e 100644
--- a/drivers/cpufreq/Kconfig.x86
+++ b/drivers/cpufreq/Kconfig.x86
@@ -4,17 +4,17 @@
#
config X86_INTEL_PSTATE
- bool "Intel P state control"
- depends on X86
- select ACPI_PROCESSOR if ACPI
- select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
- help
- This driver provides a P state for Intel core processors.
+ bool "Intel P state control"
+ depends on X86
+ select ACPI_PROCESSOR if ACPI
+ select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
+ help
+ This driver provides a P state for Intel core processors.
The driver implements an internal governor and will become
- the scaling driver and governor for Sandy bridge processors.
+ the scaling driver and governor for Sandy bridge processors.
When this driver is enabled it will become the preferred
- scaling driver for Sandy bridge processors.
+ scaling driver for Sandy bridge processors.
If in doubt, say N.
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] cpufreq: Fix Kconfig indentation
2019-11-21 3:19 [PATCH v2] cpufreq: Fix Kconfig indentation Krzysztof Kozlowski
@ 2019-11-21 5:33 ` Viresh Kumar
2019-11-29 11:29 ` Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2019-11-21 5:33 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: linux-kernel, Rafael J. Wysocki, linux-pm
On 21-11-19, 04:19, 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/cpufreq/Kconfig.powerpc | 8 ++++----
> drivers/cpufreq/Kconfig.x86 | 16 ++++++++--------
> 2 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/cpufreq/Kconfig.powerpc b/drivers/cpufreq/Kconfig.powerpc
> index 35b4f700f054..58151ca56695 100644
> --- a/drivers/cpufreq/Kconfig.powerpc
> +++ b/drivers/cpufreq/Kconfig.powerpc
> @@ -48,9 +48,9 @@ config PPC_PASEMI_CPUFREQ
> PWRficient processors.
>
> config POWERNV_CPUFREQ
> - tristate "CPU frequency scaling for IBM POWERNV platform"
> - depends on PPC_POWERNV
> - default y
> - help
> + tristate "CPU frequency scaling for IBM POWERNV platform"
> + depends on PPC_POWERNV
> + default y
> + help
> This adds support for CPU frequency switching on IBM POWERNV
> platform
> diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
> index dfa6457deaf6..a6528388952e 100644
> --- a/drivers/cpufreq/Kconfig.x86
> +++ b/drivers/cpufreq/Kconfig.x86
> @@ -4,17 +4,17 @@
> #
>
> config X86_INTEL_PSTATE
> - bool "Intel P state control"
> - depends on X86
> - select ACPI_PROCESSOR if ACPI
> - select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
> - help
> - This driver provides a P state for Intel core processors.
> + bool "Intel P state control"
> + depends on X86
> + select ACPI_PROCESSOR if ACPI
> + select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
> + help
> + This driver provides a P state for Intel core processors.
> The driver implements an internal governor and will become
> - the scaling driver and governor for Sandy bridge processors.
> + the scaling driver and governor for Sandy bridge processors.
>
> When this driver is enabled it will become the preferred
> - scaling driver for Sandy bridge processors.
> + scaling driver for Sandy bridge processors.
>
> If in doubt, say N.
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] cpufreq: Fix Kconfig indentation
2019-11-21 3:19 [PATCH v2] cpufreq: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-21 5:33 ` Viresh Kumar
@ 2019-11-29 11:29 ` Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2019-11-29 11:29 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: linux-kernel, Viresh Kumar, linux-pm, Viresh Kumar
On Thursday, November 21, 2019 4:19:15 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/cpufreq/Kconfig.powerpc | 8 ++++----
> drivers/cpufreq/Kconfig.x86 | 16 ++++++++--------
> 2 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/cpufreq/Kconfig.powerpc b/drivers/cpufreq/Kconfig.powerpc
> index 35b4f700f054..58151ca56695 100644
> --- a/drivers/cpufreq/Kconfig.powerpc
> +++ b/drivers/cpufreq/Kconfig.powerpc
> @@ -48,9 +48,9 @@ config PPC_PASEMI_CPUFREQ
> PWRficient processors.
>
> config POWERNV_CPUFREQ
> - tristate "CPU frequency scaling for IBM POWERNV platform"
> - depends on PPC_POWERNV
> - default y
> - help
> + tristate "CPU frequency scaling for IBM POWERNV platform"
> + depends on PPC_POWERNV
> + default y
> + help
> This adds support for CPU frequency switching on IBM POWERNV
> platform
> diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
> index dfa6457deaf6..a6528388952e 100644
> --- a/drivers/cpufreq/Kconfig.x86
> +++ b/drivers/cpufreq/Kconfig.x86
> @@ -4,17 +4,17 @@
> #
>
> config X86_INTEL_PSTATE
> - bool "Intel P state control"
> - depends on X86
> - select ACPI_PROCESSOR if ACPI
> - select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
> - help
> - This driver provides a P state for Intel core processors.
> + bool "Intel P state control"
> + depends on X86
> + select ACPI_PROCESSOR if ACPI
> + select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
> + help
> + This driver provides a P state for Intel core processors.
> The driver implements an internal governor and will become
> - the scaling driver and governor for Sandy bridge processors.
> + the scaling driver and governor for Sandy bridge processors.
>
> When this driver is enabled it will become the preferred
> - scaling driver for Sandy bridge processors.
> + scaling driver for Sandy bridge processors.
>
> If in doubt, say N.
>
>
Applied as 5.5 material, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-29 11:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21 3:19 [PATCH v2] cpufreq: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-21 5:33 ` Viresh Kumar
2019-11-29 11:29 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).