Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d2b358a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpufreq: interactive: fix compiling warnings"

parents 4e4ff594 4b3ea78a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -789,7 +789,7 @@ static ssize_t show_target_loads(
		ret += sprintf(buf + ret, "%u%s", tunables->target_loads[i],
			       i & 0x1 ? ":" : " ");

	ret += sprintf(buf + --ret, "\n");
	sprintf(buf + ret - 1, "\n");
	spin_unlock_irqrestore(&tunables->target_loads_lock, flags);
	return ret;
}
@@ -829,7 +829,7 @@ static ssize_t show_above_hispeed_delay(
			       tunables->above_hispeed_delay[i],
			       i & 0x1 ? ":" : " ");

	ret += sprintf(buf + --ret, "\n");
	sprintf(buf + ret - 1, "\n");
	spin_unlock_irqrestore(&tunables->above_hispeed_delay_lock, flags);
	return ret;
}