From patchwork Thu Feb 22 05:56:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 10234675 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8874260224 for ; Thu, 22 Feb 2018 05:57:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83792288BB for ; Thu, 22 Feb 2018 05:57:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 776A2288BD; Thu, 22 Feb 2018 05:57:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EDFAF288BB for ; Thu, 22 Feb 2018 05:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=P7BrDuHv2TCkELp3245nCAcY6NcjJCWsFu3zXipYnsY=; b=ppK n9vV5N1gMr8P4+8HQ56llYiGyjM6lFTbatCVLGTHblAReNV3XT9dSEAS87tOM2fjinmGpu0xbW6aJ TcOM6jqkkl8tr5wSLhGUkiiWzcw3KSBIb5gWW1f3bkDx5kND9JWR3BiUEOmuxFc8qdq7KjF/GJmI9 yjJfda6JPlZObdp0xrsHev/sNMxlO8cSt18ABEpSzogadQ9rueBHzsHZymMZL4ddyBEqS5pMPhiUD r0HsI/5UK9cPUUu8v+nQZoGAKhDXMul7E2rvUBHcL/ts9frTzA9WHgBNjSbmF+N0ulNdZrX3kC89J pxEnoqK5X40vzBel5TPKWc1fOKQwvag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eojsK-0003ue-BS; Thu, 22 Feb 2018 05:57:00 +0000 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eojsC-0003ro-8U for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2018 05:56:54 +0000 Received: by mail-pg0-x242.google.com with SMTP id l4so1633504pgp.11 for ; Wed, 21 Feb 2018 21:56:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=OM6/1PCAM1bX73isggmg1D3OFqsGIMIFK8NtxnC61Ms=; b=VqNGVBC3SRqDnXGUTpeQH7m/AXJJVhrAuiaqIPo63vjSV+WToor9yDLLO9MrYOzI7q K7Zgae8o2ebrYcbqN2D+5oZzEupUCwck/vKqKHsCC8LGTA16QEeXl9/B3WDmK0rdeOI3 GwKEDhnxv8oa7Hc8TLV3cna4Gz5a9xQQIlAZk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OM6/1PCAM1bX73isggmg1D3OFqsGIMIFK8NtxnC61Ms=; b=RDGnrRQ+z7TKCDAwAbdsqAqGk8p9jq0dalqMDaj9wwUKFWWTItnKzj8cxyKvooxKmf 0KV8HqL4zQ6amyCOoR9ZvLkHM2Z7Ry+MdB1LvMn3dQC0ymJIRLyOm4M/j2MxT8+CAhVV n6jWtEB2fCYTu7oIkXgjhhzghp0TP5uJQHtSjH6MdIC3w6Gb7IqX/uMUj4cSEDiAcenX vRoUTlrJWLndYYAwMWBOEmYZGJFus2ed98DfIvCI/xNUYXEeZrHqVAL3+OCzu3yLffay DjryzE7ogljnuIQjsRVVIChWu8/JdQY4yARi7VDgdxeq3pxslY0Mx/RCckVKclklxga6 8V1w== X-Gm-Message-State: APf1xPDL3PnALxwBBlqQPqfQOORX5Fz4ULQTx98G5D90QY3Ggt7NGaQX ZXK51/ldM6MlqwQ6Uz8roKIzxg== X-Google-Smtp-Source: AH8x227CdLRfoD3SrfF+pO4OcO8bmVpz+lV9clTqIAMXJhtlUZ1kRnfpEkuqCpvU3fzwDPQdfTxnPQ== X-Received: by 10.101.96.142 with SMTP id t14mr4691685pgu.58.1519279000665; Wed, 21 Feb 2018 21:56:40 -0800 (PST) Received: from localhost ([122.167.232.138]) by smtp.gmail.com with ESMTPSA id f4sm49255424pfn.82.2018.02.21.21.56.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 21:56:39 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki , Matthias Brugger Subject: [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug() Date: Thu, 22 Feb 2018 11:26:31 +0530 Message-Id: <5bc4db542fa521c32d295f490a1ad1dadf715098.1519278976.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180221_215652_470605_A7D4F60E X-CRM114-Status: GOOD ( 12.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vincent Guittot , linux-pm@vger.kernel.org, Viresh Kumar , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Sean Wang --- 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; }