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

Commit 335dc333 authored by Thiago Farina's avatar Thiago Farina Committed by Dave Jones
Browse files

[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: default avatarThiago Farina <tfransosi@gmail.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 2d06d8c4
Loading
Loading
Loading
Loading
+18 −15
Original line number Diff line number Diff line
@@ -72,7 +72,9 @@ extern struct kobject *cpufreq_global_kobject;
struct cpufreq_cpuinfo {
	unsigned int		max_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 {
@@ -180,7 +182,8 @@ struct cpufreq_governor {
	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,
				 unsigned int target_freq,