cpufreq: mediatek: Convert pr_warn() to pr_debug()
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@linaro.org> Acked-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
319ce21acc
commit
cb8bd2ff15
@ -578,7 +578,7 @@ static int __init mtk_cpufreq_driver_init(void)
|
|||||||
match = of_match_node(mtk_cpufreq_machines, np);
|
match = of_match_node(mtk_cpufreq_machines, np);
|
||||||
of_node_put(np);
|
of_node_put(np);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
pr_warn("Machine is not compatible with mtk-cpufreq\n");
|
pr_debug("Machine is not compatible with mtk-cpufreq\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user