Skip to content

Commit 19231a8

Browse files
Lee Jonesrafaeljw
authored andcommitted
cpufreq: freq_table: Demote obvious misuse of kerneldoc to standard comment blocks
No attempt has been made to document any of the demoted functions here. Fixes the following W=1 kernel build warning(s): drivers/cpufreq/freq_table.c:229: warning: Function parameter or member 'policy' not described in 'show_available_freqs' drivers/cpufreq/freq_table.c:229: warning: Function parameter or member 'buf' not described in 'show_available_freqs' drivers/cpufreq/freq_table.c:229: warning: Function parameter or member 'show_boost' not described in 'show_available_freqs' drivers/cpufreq/freq_table.c:269: warning: Function parameter or member 'policy' not described in 'scaling_available_frequencies_show' drivers/cpufreq/freq_table.c:269: warning: Function parameter or member 'buf' not described in 'scaling_available_frequencies_show' drivers/cpufreq/freq_table.c:281: warning: Function parameter or member 'policy' not described in 'scaling_boost_frequencies_show' drivers/cpufreq/freq_table.c:281: warning: Function parameter or member 'buf' not described in 'scaling_boost_frequencies_show' Signed-off-by: Lee Jones <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 8479eb8 commit 19231a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/cpufreq/freq_table.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy,
221221
}
222222
EXPORT_SYMBOL_GPL(cpufreq_frequency_table_get_index);
223223

224-
/**
224+
/*
225225
* show_available_freqs - show available frequencies for the specified CPU
226226
*/
227227
static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf,
@@ -260,7 +260,7 @@ static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf,
260260
struct freq_attr cpufreq_freq_attr_##_name##_freqs = \
261261
__ATTR_RO(_name##_frequencies)
262262

263-
/**
263+
/*
264264
* show_scaling_available_frequencies - show available normal frequencies for
265265
* the specified CPU
266266
*/
@@ -272,7 +272,7 @@ static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy,
272272
cpufreq_attr_available_freq(scaling_available);
273273
EXPORT_SYMBOL_GPL(cpufreq_freq_attr_scaling_available_freqs);
274274

275-
/**
275+
/*
276276
* show_available_boost_freqs - show available boost frequencies for
277277
* the specified CPU
278278
*/

0 commit comments

Comments
 (0)