diff mbox series

[2/2] doc/cpufreq: Update core.rst

Message ID 20211130151526.949-3-tangyizhou@huawei.com (mailing list archive)
State Superseded, archived
Headers show
Series cpufreq: Update function comment and document | expand

Commit Message

Tang Yizhou Nov. 30, 2021, 3:15 p.m. UTC
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 <tangyizhou@huawei.com>
---
 Documentation/cpu-freq/core.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Viresh Kumar Dec. 1, 2021, 4:21 a.m. UTC | #1
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 <tangyizhou@huawei.com>
> ---
>  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 <viresh.kumar@linaro.org>
diff mbox series

Patch

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)
 ==================================================================