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
nexedi
linux
Commits
4d34a67d
Commit
4d34a67d
authored
Feb 07, 2008
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] CodingStyle
return is not a function. Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
c9060494
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq.c
+5
-5
No files found.
drivers/cpufreq/cpufreq.c
View file @
4d34a67d
...
@@ -1138,7 +1138,7 @@ unsigned int cpufreq_quick_get(unsigned int cpu)
...
@@ -1138,7 +1138,7 @@ unsigned int cpufreq_quick_get(unsigned int cpu)
cpufreq_cpu_put
(
policy
);
cpufreq_cpu_put
(
policy
);
}
}
return
(
ret_freq
)
;
return
ret_freq
;
}
}
EXPORT_SYMBOL
(
cpufreq_quick_get
);
EXPORT_SYMBOL
(
cpufreq_quick_get
);
...
@@ -1149,7 +1149,7 @@ static unsigned int __cpufreq_get(unsigned int cpu)
...
@@ -1149,7 +1149,7 @@ static unsigned int __cpufreq_get(unsigned int cpu)
unsigned
int
ret_freq
=
0
;
unsigned
int
ret_freq
=
0
;
if
(
!
cpufreq_driver
->
get
)
if
(
!
cpufreq_driver
->
get
)
return
(
ret_freq
)
;
return
ret_freq
;
ret_freq
=
cpufreq_driver
->
get
(
cpu
);
ret_freq
=
cpufreq_driver
->
get
(
cpu
);
...
@@ -1163,7 +1163,7 @@ static unsigned int __cpufreq_get(unsigned int cpu)
...
@@ -1163,7 +1163,7 @@ static unsigned int __cpufreq_get(unsigned int cpu)
}
}
}
}
return
(
ret_freq
)
;
return
ret_freq
;
}
}
/**
/**
...
@@ -1190,7 +1190,7 @@ unsigned int cpufreq_get(unsigned int cpu)
...
@@ -1190,7 +1190,7 @@ unsigned int cpufreq_get(unsigned int cpu)
out_policy:
out_policy:
cpufreq_cpu_put
(
policy
);
cpufreq_cpu_put
(
policy
);
out:
out:
return
(
ret_freq
)
;
return
ret_freq
;
}
}
EXPORT_SYMBOL
(
cpufreq_get
);
EXPORT_SYMBOL
(
cpufreq_get
);
...
@@ -1842,7 +1842,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
...
@@ -1842,7 +1842,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
cpufreq_debug_enable_ratelimit
();
cpufreq_debug_enable_ratelimit
();
}
}
return
(
ret
)
;
return
ret
;
}
}
EXPORT_SYMBOL_GPL
(
cpufreq_register_driver
);
EXPORT_SYMBOL_GPL
(
cpufreq_register_driver
);
...
...
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