Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27443
b: refs/heads/master
c: 511e9ee
h: refs/heads/master
i:
  27441: f86fe45
  27439: 3efbb41
v: v3
  • Loading branch information
Dave Jones committed May 30, 2006
1 parent 2fabc41 commit 0af7668
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 851777b7b686c80e417fd811cdea3e5aa5305745
refs/heads/master: 511e9ee17099c6ebe315c0524b8b482d4767ab3d
6 changes: 3 additions & 3 deletions trunk/drivers/cpufreq/cpufreq_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static ssize_t
show_total_trans(struct cpufreq_policy *policy, char *buf)
{
struct cpufreq_stats *stat = cpufreq_stats_table[policy->cpu];
if(!stat)
if (!stat)
return 0;
return sprintf(buf, "%d\n",
cpufreq_stats_table[stat->cpu]->total_trans);
Expand All @@ -86,7 +86,7 @@ show_time_in_state(struct cpufreq_policy *policy, char *buf)
ssize_t len = 0;
int i;
struct cpufreq_stats *stat = cpufreq_stats_table[policy->cpu];
if(!stat)
if (!stat)
return 0;
cpufreq_stats_update(stat->cpu);
for (i = 0; i < stat->state_num; i++) {
Expand All @@ -104,7 +104,7 @@ show_trans_table(struct cpufreq_policy *policy, char *buf)
int i, j;

struct cpufreq_stats *stat = cpufreq_stats_table[policy->cpu];
if(!stat)
if (!stat)
return 0;
cpufreq_stats_update(stat->cpu);
len += snprintf(buf + len, PAGE_SIZE - len, " From : To\n");
Expand Down

0 comments on commit 0af7668

Please sign in to comment.