Skip to content

Commit

Permalink
cpufreq: interactiveX: fix show_target_loads and show_above_hispeed_d…
Browse files Browse the repository at this point in the history
…elay
  • Loading branch information
imoseyon committed Sep 23, 2013
1 parent 1e1b2f4 commit 26be730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/cpufreq_interactiveX.c
Expand Up @@ -775,7 +775,7 @@ static ssize_t show_target_loads(
ret += sprintf(buf + ret, "%u%s", target_loads[i],
i & 0x1 ? ":" : " ");

ret += sprintf(buf + ret, "\n");
ret += sprintf(buf + --ret, "\n");
spin_unlock_irqrestore(&target_loads_lock, flags);
return ret;
}
Expand Down Expand Up @@ -818,7 +818,7 @@ static ssize_t show_above_hispeed_delay(
ret += sprintf(buf + ret, "%u%s", above_hispeed_delay[i],
i & 0x1 ? ":" : " ");

ret += sprintf(buf + ret, "\n");
ret += sprintf(buf + --ret, "\n");
spin_unlock_irqrestore(&above_hispeed_delay_lock, flags);
return ret;
}
Expand Down

0 comments on commit 26be730

Please sign in to comment.