On 4 January 2015 at 03:34, Rafael J. Wysocki rjw@rjwysocki.net wrote:
What about:
"It is better to pass a struct cpufreq_stats pointer to cpufreq_stats_update() instead of a CPU number, because ..."
Sure.
+static int cpufreq_stats_update(struct cpufreq_stats *stat) {
struct cpufreq_stats *stat;
unsigned long long cur_time;
unsigned long long cur_time = get_jiffies_64();
cur_time = get_jiffies_64();
Unrelated change.
Yeah, it was too small of a change so not that significant as well. And so folded it into this commit only :(
Will send it separately in v3..