public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufreq: report driver's successful {un}registration
@ 2014-06-26  8:51 Viresh Kumar
  2014-07-10 11:31 ` Srivatsa S. Bhat
  2014-07-10 11:48 ` Borislav Petkov
  0 siblings, 2 replies; 9+ messages in thread
From: Viresh Kumar @ 2014-06-26  8:51 UTC (permalink / raw)
  To: rjw; +Cc: linaro-kernel, linux-pm, linux-kernel, arvind.chauhan,
	Viresh Kumar

We do report driver's successful {un}registration from cpufreq core, but is done
with pr_debug() and so this doesn't appear in boot logs.

Convert this to pr_info() to make it visible in logs.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/cpufreq/cpufreq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 62259d2..63d8f8f 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -2468,7 +2468,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
 	}
 
 	register_hotcpu_notifier(&cpufreq_cpu_notifier);
-	pr_debug("driver %s up and running\n", driver_data->name);
+	pr_info("driver %s up and running\n", driver_data->name);
 
 	return 0;
 err_if_unreg:
@@ -2499,7 +2499,7 @@ int cpufreq_unregister_driver(struct cpufreq_driver *driver)
 	if (!cpufreq_driver || (driver != cpufreq_driver))
 		return -EINVAL;
 
-	pr_debug("unregistering driver %s\n", driver->name);
+	pr_info("unregistering driver %s\n", driver->name);
 
 	subsys_interface_unregister(&cpufreq_interface);
 	if (cpufreq_boost_supported())
-- 
2.0.0.rc2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-07-10 14:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26  8:51 [PATCH] cpufreq: report driver's successful {un}registration Viresh Kumar
2014-07-10 11:31 ` Srivatsa S. Bhat
2014-07-10 11:48 ` Borislav Petkov
2014-07-10 11:51   ` Viresh Kumar
2014-07-10 11:59     ` Borislav Petkov
2014-07-10 12:08       ` Viresh Kumar
2014-07-10 14:07         ` Borislav Petkov
2014-07-10 14:13           ` Viresh Kumar
2014-07-10 14:16             ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox