[CPUFREQ] cpufreq.h: Fix some checkpatch.pl coding style issues.
Before: $ scripts/checkpatch.pl --file --terse include/linux/cpufreq.h total: 14 errors, 11 warnings, 419 lines checked After: $ scripts/checkpatch.pl --file --terse include/linux/cpufreq.h total: 2 errors, 4 warnings, 422 lines checked Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
committed by
Dave Jones
parent
2d06d8c49a
commit
335dc3335f
@@ -72,7 +72,9 @@ extern struct kobject *cpufreq_global_kobject;
|
|||||||
struct cpufreq_cpuinfo {
|
struct cpufreq_cpuinfo {
|
||||||
unsigned int max_freq;
|
unsigned int max_freq;
|
||||||
unsigned int min_freq;
|
unsigned int min_freq;
|
||||||
unsigned int transition_latency; /* in 10^(-9) s = nanoseconds */
|
|
||||||
|
/* in 10^(-9) s = nanoseconds */
|
||||||
|
unsigned int transition_latency;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cpufreq_real_policy {
|
struct cpufreq_real_policy {
|
||||||
@@ -180,7 +182,8 @@ struct cpufreq_governor {
|
|||||||
struct module *owner;
|
struct module *owner;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* pass a target to the cpufreq driver
|
/*
|
||||||
|
* Pass a target to the cpufreq driver.
|
||||||
*/
|
*/
|
||||||
extern int cpufreq_driver_target(struct cpufreq_policy *policy,
|
extern int cpufreq_driver_target(struct cpufreq_policy *policy,
|
||||||
unsigned int target_freq,
|
unsigned int target_freq,
|
||||||
@@ -386,7 +389,7 @@ int cpufreq_frequency_table_target(struct cpufreq_policy *policy,
|
|||||||
/* the following 3 funtions are for cpufreq core use only */
|
/* the following 3 funtions are for cpufreq core use only */
|
||||||
struct cpufreq_frequency_table *cpufreq_frequency_get_table(unsigned int cpu);
|
struct cpufreq_frequency_table *cpufreq_frequency_get_table(unsigned int cpu);
|
||||||
struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu);
|
struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu);
|
||||||
void cpufreq_cpu_put (struct cpufreq_policy *data);
|
void cpufreq_cpu_put(struct cpufreq_policy *data);
|
||||||
|
|
||||||
/* the following are really really optional */
|
/* the following are really really optional */
|
||||||
extern struct freq_attr cpufreq_freq_attr_scaling_available_freqs;
|
extern struct freq_attr cpufreq_freq_attr_scaling_available_freqs;
|
||||||
|
Reference in New Issue
Block a user