cpufreq: governor: Remove unnecessary bits from print message
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 18 May 2016 12:25:27 +0000 (17:55 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jun 2016 21:24:38 +0000 (23:24 +0200)
pr_*() helpers already prefix the print messages with
"cpufreq_governor:" and similar details aren't required in the actual
message.

For example, the print message getting fixed looks like this before this
patch:

cpufreq_governor: cpufreq: Governor initialization failed (dbs_data kobject init error 0)

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_governor.c

index ca9927c15a71a4287f2c2a3c8fd18d4f9ce0d1dd..18eab7f4ba4c69ac73bf8a72121cede6f8a74730 100644 (file)
@@ -458,7 +458,7 @@ int cpufreq_dbs_governor_init(struct cpufreq_policy *policy)
                goto out;
 
        /* Failure, so roll back. */
-       pr_err("cpufreq: Governor initialization failed (dbs_data kobject init error %d)\n", ret);
+       pr_err("initialization failed (dbs_data kobject init error %d)\n", ret);
 
        policy->governor_data = NULL;