public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: sean.wang@mediatek.com (Sean Wang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug()
Date: Fri, 23 Feb 2018 10:22:10 +0800	[thread overview]
Message-ID: <1519352530.9025.63.camel@mtkswgap22> (raw)
In-Reply-To: <5bc4db542fa521c32d295f490a1ad1dadf715098.1519278976.git.viresh.kumar@linaro.org>

On Thu, 2018-02-22 at 11:26 +0530, Viresh Kumar wrote:
> 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>
> ---
>  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;
>  	}
>  

Acked-by: Sean Wang <sean.wang@mediatek.com>

      reply	other threads:[~2018-02-23  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22  5:56 [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug() Viresh Kumar
2018-02-23  2:22 ` Sean Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1519352530.9025.63.camel@mtkswgap22 \
    --to=sean.wang@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox