Received: by 10.223.185.116 with SMTP id b49csp137620wrg; Thu, 22 Feb 2018 18:23:47 -0800 (PST) X-Google-Smtp-Source: AH8x224AimBjYsX+89cGJYXLVwUAE10l/8doy1ACIXjC2vmiTmoz7Xqtca1b9j7zN7cZ7+XFoJgW X-Received: by 2002:a17:902:2904:: with SMTP id g4-v6mr150330plb.170.1519352627109; Thu, 22 Feb 2018 18:23:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519352627; cv=none; d=google.com; s=arc-20160816; b=KMSZJ9F9bgtQwsN9K51f+IgoDlUTDOkgQlQaAFCFJLowMRzlt+DrGLROrdn9fPwbpZ fsGT90l5bDDteMCdxFl0IboQOur0RtDlaCDMLg2LZPitvSE7q2rMcxF24W7uBJv8LCIQ QeVw9x3XnYRKwc6y0Gy/eWlBWaP0wBRuehdxa7W2pMKmc9Dv9LmmJCjpKfx8iNk9l+42 tsPpezgtZVQCXtshwfGl3sAD6N9pdAvmP0xFbVDHqq1fbaVlormIuHP2ECDRMudU7+ne aoO2LtvmK3IwPehV3tJnHwjTmb8HdjGPgvIpVl8WYy0mtOBTVqWtrWh72cebicqYF3Rd OUEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=HA/P2bJ7y8cAMWEMTyBj/zYCls5ZVwy3UmhDSvaImdo=; b=eykSUIFWwpRoMIFtDnbKFR+6XKigT/c+5w31/ls/21xIrqOeQiFo9HxRCtmtwHJGLS dM39ZJevBl0TyCku7StF2zI8IJziE6KhcMrSh2liknXKi+0d+DlnONr15rg3AhEiwZrV hIEzAoUlvhmKM8xbw/dEBrYZVjJzDgV5p4TvNQugzB7w0c4ZX77W7o7OtnSv1kdstQqj vXxbUsF1VHP+INbMqPpjw8cArVU+d+hEQxvYVW043V0FSx3rfcRGJ8UtRpDJIPDF8P6u qVjCaXTW4N3FFeC+glYkx8Hv6YZUM1een7dvZM5DCVccbascffsnx1U8ou7gYKMP3hI5 K2sQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v196si841889pgb.217.2018.02.22.18.23.19; Thu, 22 Feb 2018 18:23:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751485AbeBWCWR (ORCPT + 99 others); Thu, 22 Feb 2018 21:22:17 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:65354 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750916AbeBWCWQ (ORCPT ); Thu, 22 Feb 2018 21:22:16 -0500 X-UUID: a67e4de9560d471395065d743ec05193-20180223 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 203246782; Fri, 23 Feb 2018 10:22:11 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 23 Feb 2018 10:22:10 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 23 Feb 2018 10:22:10 +0800 Message-ID: <1519352530.9025.63.camel@mtkswgap22> Subject: Re: [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug() From: Sean Wang To: Viresh Kumar CC: Rafael Wysocki , Matthias Brugger , Vincent Guittot , , , , Date: Fri, 23 Feb 2018 10:22:10 +0800 In-Reply-To: <5bc4db542fa521c32d295f490a1ad1dadf715098.1519278976.git.viresh.kumar@linaro.org> References: <5bc4db542fa521c32d295f490a1ad1dadf715098.1519278976.git.viresh.kumar@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 > --- > 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