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: 10234673 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 A93C760224 for ; Thu, 22 Feb 2018 05:56:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6269288BC for ; Thu, 22 Feb 2018 05:56:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AE42288BE; Thu, 22 Feb 2018 05:56:58 +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 303E6288BC for ; Thu, 22 Feb 2018 05:56:58 +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=s5/A4SylOWS3Yh4IifsJB0JKD5tyPCjRdT40bpR/Wlg=; b=Yz9 4D+rejhgfE+EDLA5RBiGfpUCs5yVCtiVJZjdHbMFGdBUAZNtDIQz7CKkl8jwwe7pilF0Ftfx2Istj K3jih+wEsSosNQnVTh81dU8LHkct4k4GNq6uN+5yq2gS7RsyeV56aW5MnZHMZjFz6Jr+l8/CmmAPa 89d0z5muc9g22LzYtLregqf4ACBb84i6e5PNi06GV1Dj7li27DrgiyiAbwlvcENsYj6TCH58oVVNO tBm9qPXu2F8Vs2x+Oo1An8EEPFqa312mY7SATls2gw5cBhQbkCKZ872hTWKpfI0AltXfRQRBUWQ6K 1FPxGnPpaJQE8zLilubOwzBeEPIPOcQ==; 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 1eojsG-0003u2-RF; Thu, 22 Feb 2018 05:56:56 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eojsC-0003rn-8X for linux-mediatek@lists.infradead.org; Thu, 22 Feb 2018 05:56:53 +0000 Received: by mail-pg0-x243.google.com with SMTP id m1so1632998pgp.13 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=V2DCOtFhprVbeCiZstIoiSyiSeo3PXfE2cOIBimefr1WK4QJDYdMHMDbl2gMRtFqrU OxCm7HnD2sFHKpVeC9Uaa1eND2Y7eOUXtGNRg1fY4UKDUhH9tKJ3WFeFB35I86Zeqk4k TCvqi7UlhqWtr6qyoZUSK6B50RzcbjB8k2JcevI2LYpzVEh5uJWORCqrC5PooxJEjlsv kZkjSNNhnP+yfWDiGduHgfiBVSgMwFLvannnEiwgmvNMC/y173o+Zr7fqcnOthUA/wab ncILKyU553w6tBq5G9c1bl60UTLZInWMJarnU2z4Wz+HQXFxYdhYg12XdV5ZLSjZmY3b akTQ== X-Gm-Message-State: APf1xPCJm2VDytTSOVz17NCDXDx2GXdJRCqyqK09cloZdoU58IWkl1fW FjxIhljuZT825Gx2eY31t4Dtng== 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_464410_3CDB564A X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=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; }