Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a7818e6 authored by Viresh Kumar's avatar Viresh Kumar Committed by Rafael J. Wysocki
Browse files

cpufreq: Documentation: Fix cpufreq_frequency_table name



At few places in documentation cpufreq_frequency_table is written as
cpufreq_freq_table. Fix these.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent b2a63431
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -184,10 +184,10 @@ the reference implementation in drivers/cpufreq/longrun.c
As most cpufreq processors only allow for being set to a few specific
As most cpufreq processors only allow for being set to a few specific
frequencies, a "frequency table" with some functions might assist in
frequencies, a "frequency table" with some functions might assist in
some work of the processor driver. Such a "frequency table" consists
some work of the processor driver. Such a "frequency table" consists
of an array of struct cpufreq_freq_table entries, with any value in
of an array of struct cpufreq_frequency_table entries, with any value in
"index" you want to use, and the corresponding frequency in
"index" you want to use, and the corresponding frequency in
"frequency". At the end of the table, you need to add a
"frequency". At the end of the table, you need to add a
cpufreq_freq_table entry with frequency set to CPUFREQ_TABLE_END. And
cpufreq_frequency_table entry with frequency set to CPUFREQ_TABLE_END. And
if you want to skip one entry in the table, set the frequency to 
if you want to skip one entry in the table, set the frequency to 
CPUFREQ_ENTRY_INVALID. The entries don't need to be in ascending
CPUFREQ_ENTRY_INVALID. The entries don't need to be in ascending
order.
order.