Skip to content

Commit

Permalink
cpufreq: Kconfig: fix documentation links
Browse files Browse the repository at this point in the history
User documentation for cpufreq governors and drivers has been moved to
admin-guide; adjust references from Kconfig entries accordingly.

Remove references from undocumented cpufreq drivers, as well as the
'userspace' cpufreq governor, for which no additional details are
provided in the admin-guide text.

Fixes: 2a0e492 ("cpufreq: User/admin documentation update and consolidation")
Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Alexander Monakov authored and Rafael J. Wysocki committed Apr 21, 2021
1 parent 0210b8e commit 733dda9
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ config CPU_FREQ
clock speed, you need to either enable a dynamic cpufreq governor
(see below) after boot, or use a userspace tool.

For details, take a look at <file:Documentation/cpu-freq>.
For details, take a look at
<file:Documentation/admin-guide/pm/cpufreq.rst>.

If in doubt, say N.

Expand Down Expand Up @@ -140,8 +141,6 @@ config CPU_FREQ_GOV_USERSPACE
To compile this driver as a module, choose M here: the
module will be called cpufreq_userspace.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say Y.

config CPU_FREQ_GOV_ONDEMAND
Expand All @@ -158,7 +157,8 @@ config CPU_FREQ_GOV_ONDEMAND
To compile this driver as a module, choose M here: the
module will be called cpufreq_ondemand.

For details, take a look at linux/Documentation/cpu-freq.
For details, take a look at
<file:Documentation/admin-guide/pm/cpufreq.rst>.

If in doubt, say N.

Expand All @@ -182,7 +182,8 @@ config CPU_FREQ_GOV_CONSERVATIVE
To compile this driver as a module, choose M here: the
module will be called cpufreq_conservative.

For details, take a look at linux/Documentation/cpu-freq.
For details, take a look at
<file:Documentation/admin-guide/pm/cpufreq.rst>.

If in doubt, say N.

Expand Down Expand Up @@ -246,8 +247,6 @@ config IA64_ACPI_CPUFREQ
This driver adds a CPUFreq driver which utilizes the ACPI
Processor Performance States.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.
endif

Expand All @@ -271,8 +270,6 @@ config LOONGSON2_CPUFREQ

Loongson2F and it's successors support this feature.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

config LOONGSON1_CPUFREQ
Expand All @@ -282,8 +279,6 @@ config LOONGSON1_CPUFREQ
This option adds a CPUFreq driver for loongson1 processors which
support software configurable cpu frequency.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.
endif

Expand All @@ -293,17 +288,13 @@ config SPARC_US3_CPUFREQ
help
This adds the CPUFreq driver for UltraSPARC-III processors.

For details, take a look at <file:Documentation/cpu-freq>.

If in doubt, say N.

config SPARC_US2E_CPUFREQ
tristate "UltraSPARC-IIe CPU Frequency driver"
help
This adds the CPUFreq driver for UltraSPARC-IIe processors.

For details, take a look at <file:Documentation/cpu-freq>.

If in doubt, say N.
endif

Expand All @@ -318,8 +309,6 @@ config SH_CPU_FREQ
will also generate a notice in the boot log before disabling
itself if the CPU in question is not capable of rate rounding.

For details, take a look at <file:Documentation/cpu-freq>.

If unsure, say N.
endif

Expand Down

0 comments on commit 733dda9

Please sign in to comment.