Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
057ea4e1
Commit
057ea4e1
authored
Sep 13, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] CodingStyle fixes for speedstep-smi
parent
5f27f461
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
49 deletions
+49
-49
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
+49
-49
No files found.
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
View file @
057ea4e1
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment