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

Commit 8d2d2051 authored by Paolo Ciarrocchi's avatar Paolo Ciarrocchi Committed by Dave Jones
Browse files

[CPUFREQ] Coding style fixes to arch/x86/kernel/cpu/cpufreq/powernow-k6.c



Before:
total: 11 errors, 15 warnings, 255 lines checked

After:
total: 0 errors, 6 warnings, 254 lines checked

paolo@paolo-desktop:~/linux.trees.git$ md5sum /tmp/powernow-k6.o.*
476932f5e1ffe365db9d1dfb3f860369  /tmp/powernow-k6.o.after
476932f5e1ffe365db9d1dfb3f860369  /tmp/powernow-k6.o.before

Signed-off-by: default avatarPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 18c6faa9
Loading
Loading
Loading
Loading
+20 −21
Original line number Diff line number Diff line
@@ -15,9 +15,8 @@
#include <linux/slab.h>

#include <asm/msr.h>
#include <asm/timex.h>
#include <asm/io.h>

#include <linux/timex.h>
#include <linux/io.h>

#define POWERNOW_IOPORT 0xfff0          /* it doesn't matter where, as long
					   as it is unused */
@@ -165,7 +164,7 @@ static int powernow_k6_cpu_init(struct cpufreq_policy *policy)

	result = cpufreq_frequency_table_cpuinfo(policy, clock_ratio);
	if (result)
		return (result);
		return result;

	cpufreq_frequency_table_get_attr(clock_ratio, policy->cpu);