Commit 36f111a9 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] CodingStyle fixes

parent fd811936
......@@ -51,7 +51,8 @@ static DECLARE_MUTEX (cpufreq_governor_sem);
static struct class_interface cpufreq_interface;
static int cpufreq_cpu_get(unsigned int cpu) {
static int cpufreq_cpu_get(unsigned int cpu)
{
if (cpu >= NR_CPUS)
return 0;
......@@ -69,7 +70,8 @@ static int cpufreq_cpu_get(unsigned int cpu) {
return 1;
}
static void cpufreq_cpu_put(unsigned int cpu) {
static void cpufreq_cpu_put(unsigned int cpu)
{
kobject_put(&cpufreq_driver->policy[cpu].kobj);
module_put(cpufreq_driver->owner);
}
......@@ -81,7 +83,8 @@ static void cpufreq_cpu_put(unsigned int cpu) {
/**
* cpufreq_parse_governor - parse a governor string
*/
int cpufreq_parse_governor (char *str_governor, unsigned int *policy, struct cpufreq_governor **governor)
int cpufreq_parse_governor (char *str_governor, unsigned int *policy,
struct cpufreq_governor **governor)
{
if (!strnicmp(str_governor, "performance", CPUFREQ_NAME_LEN)) {
*policy = CPUFREQ_POLICY_PERFORMANCE;
......@@ -230,7 +233,8 @@ static ssize_t show_scaling_driver (struct cpufreq_policy * policy, char *buf)
/**
* show_scaling_available_governors - show the available CPUfreq governors
*/
static ssize_t show_scaling_available_governors(struct cpufreq_policy * policy, char *buf)
static ssize_t show_scaling_available_governors (struct cpufreq_policy * policy,
char *buf)
{
ssize_t i = 0;
struct cpufreq_governor *t;
......
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