Commit 057ea4e1 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] CodingStyle fixes for speedstep-smi

parent 5f27f461
...@@ -80,6 +80,7 @@ static int speedstep_smi_ownership (void) ...@@ -80,6 +80,7 @@ static int speedstep_smi_ownership (void)
return result; return result;
} }
/** /**
* speedstep_smi_get_freqs - get SpeedStep preferred & current freq. * speedstep_smi_get_freqs - get SpeedStep preferred & current freq.
* *
...@@ -102,6 +103,7 @@ static int speedstep_smi_get_freqs (unsigned int *low, unsigned int *high) ...@@ -102,6 +103,7 @@ static int speedstep_smi_get_freqs (unsigned int *low, unsigned int *high)
return result; return result;
} }
/** /**
* speedstep_get_state - set the SpeedStep state * speedstep_get_state - set the SpeedStep state
* @state: processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH) * @state: processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
...@@ -185,8 +187,7 @@ static void speedstep_set_state (unsigned int state, unsigned int notify) ...@@ -185,8 +187,7 @@ static void speedstep_set_state (unsigned int state, unsigned int notify)
* Sets a new CPUFreq policy/freq. * Sets a new CPUFreq policy/freq.
*/ */
static int speedstep_target (struct cpufreq_policy *policy, static int speedstep_target (struct cpufreq_policy *policy,
unsigned int target_freq, unsigned int target_freq, unsigned int relation)
unsigned int relation)
{ {
unsigned int newstate = 0; unsigned int newstate = 0;
...@@ -294,7 +295,6 @@ static struct cpufreq_driver speedstep_driver = { ...@@ -294,7 +295,6 @@ static struct cpufreq_driver speedstep_driver = {
*/ */
static int __init speedstep_init(void) static int __init speedstep_init(void)
{ {
dprintk("speedstep-smi: signature:0%.8lx, command:0lx%.8lx, event:0x%.8lx, perf_level:0x%.8lx.\n", dprintk("speedstep-smi: signature:0%.8lx, command:0lx%.8lx, event:0x%.8lx, perf_level:0x%.8lx.\n",
ist_info.signature, ist_info.command, ist_info.event, ist_info.perf_level); ist_info.signature, ist_info.command, ist_info.event, ist_info.perf_level);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment