* [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug()
@ 2018-02-22 5:56 Viresh Kumar
[not found] ` <5bc4db542fa521c32d295f490a1ad1dadf715098.1519278976.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Viresh Kumar @ 2018-02-22 5:56 UTC (permalink / raw)
To: Rafael Wysocki, Matthias Brugger
Cc: Vincent Guittot, linux-pm-u79uwXL29TY76Z2rM5mHXA, Viresh Kumar,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
With multi-platform build images, this shows a message on non mediatek
platforms, which is unnecessary. Convert pr_warn() to pr_debug() here.
Signed-off-by: Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
drivers/cpufreq/mediatek-cpufreq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
index 8c04dddd3c28..84d658d57029 100644
--- a/drivers/cpufreq/mediatek-cpufreq.c
+++ b/drivers/cpufreq/mediatek-cpufreq.c
@@ -578,7 +578,7 @@ static int __init mtk_cpufreq_driver_init(void)
match = of_match_node(mtk_cpufreq_machines, np);
of_node_put(np);
if (!match) {
- pr_warn("Machine is not compatible with mtk-cpufreq\n");
+ pr_debug("Machine is not compatible with mtk-cpufreq\n");
return -ENODEV;
}
--
2.15.0.194.g9af6a3dea062
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-23 2:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22 5:56 [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug() Viresh Kumar
[not found] ` <5bc4db542fa521c32d295f490a1ad1dadf715098.1519278976.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2018-02-23 2:22 ` Sean Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox