Skip to content

Commit

Permalink
cpufreq: ARM big LITTLE: Improve print message
Browse files Browse the repository at this point in the history
The message printed at the end of driver->init() doesn't include the
"cpufreq" string at all and so is difficult to find in dmesg. Add
function name to that message to clearly state where the message is
coming from.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed May 12, 2013
1 parent 4521adf commit 2b80f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/arm_big_little.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static int bL_cpufreq_init(struct cpufreq_policy *policy)

cpumask_copy(policy->cpus, topology_core_cpumask(policy->cpu));

dev_info(cpu_dev, "CPU %d initialized\n", policy->cpu);
dev_info(cpu_dev, "%s: CPU %d initialized\n", __func__, policy->cpu);
return 0;
}

Expand Down

0 comments on commit 2b80f31

Please sign in to comment.