2021-11-30 14:48:38

by Tang Yizhou

[permalink] [raw]
Subject: [PATCH 0/2] cpufreq: Update function comment and document

Tang Yizhou (2):
cpufreq: Fix a comment in cpufreq_policy_free
doc/cpufreq: Update core.rst

Documentation/cpu-freq/core.rst | 6 +++---
drivers/cpufreq/cpufreq.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)

--
2.17.1



2021-11-30 14:48:48

by Tang Yizhou

[permalink] [raw]
Subject: [PATCH 2/2] doc/cpufreq: Update core.rst

As the definition of struct cpufreq_freqs has changed, update core.rst
with the new first member of struct cpufreq_freqs.

Signed-off-by: Tang Yizhou <[email protected]>
---
Documentation/cpu-freq/core.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/cpu-freq/core.rst b/Documentation/cpu-freq/core.rst
index 33cb90bd1d8f..4ceef8e7217c 100644
--- a/Documentation/cpu-freq/core.rst
+++ b/Documentation/cpu-freq/core.rst
@@ -73,12 +73,12 @@ CPUFREQ_POSTCHANGE.
The third argument is a struct cpufreq_freqs with the following
values:

-===== ===========================
-cpu number of the affected CPU
+====== ======================================
+policy a pointer to the struct cpufreq_policy
old old frequency
new new frequency
flags flags of the cpufreq driver
-===== ===========================
+====== ======================================

3. CPUFreq Table Generation with Operating Performance Point (OPP)
==================================================================
--
2.17.1


2021-12-01 04:21:29

by Viresh Kumar

[permalink] [raw]
Subject: Re: [PATCH 2/2] doc/cpufreq: Update core.rst

On 30-11-21, 23:15, Tang Yizhou wrote:
> As the definition of struct cpufreq_freqs has changed, update core.rst
> with the new first member of struct cpufreq_freqs.
>
> Signed-off-by: Tang Yizhou <[email protected]>
> ---
> Documentation/cpu-freq/core.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/cpu-freq/core.rst b/Documentation/cpu-freq/core.rst
> index 33cb90bd1d8f..4ceef8e7217c 100644
> --- a/Documentation/cpu-freq/core.rst
> +++ b/Documentation/cpu-freq/core.rst
> @@ -73,12 +73,12 @@ CPUFREQ_POSTCHANGE.
> The third argument is a struct cpufreq_freqs with the following
> values:
>
> -===== ===========================
> -cpu number of the affected CPU
> +====== ======================================
> +policy a pointer to the struct cpufreq_policy
> old old frequency
> new new frequency
> flags flags of the cpufreq driver
> -===== ===========================
> +====== ======================================
>
> 3. CPUFreq Table Generation with Operating Performance Point (OPP)
> ==================================================================

Acked-by: Viresh Kumar <[email protected]>

--
viresh