cpufreq: mediatek: Convert pr_warn() to pr_debug()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 22 Feb 2018 05:56:31 +0000 (11:26 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Feb 2018 17:22:12 +0000 (18:22 +0100)
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>
drivers/cpufreq/mediatek-cpufreq.c

index 8c04ddd..84d658d 100644 (file)
@@ -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;
        }