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: 10234671 X-Patchwork-Delegate: rjw@sisk.pl 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 B57DA60224 for ; Thu, 22 Feb 2018 05:56:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4899288BB for ; Thu, 22 Feb 2018 05:56:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A93C8288BD; Thu, 22 Feb 2018 05:56:54 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 551CF288BB for ; Thu, 22 Feb 2018 05:56:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751577AbeBVF4m (ORCPT ); Thu, 22 Feb 2018 00:56:42 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:35519 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbeBVF4l (ORCPT ); Thu, 22 Feb 2018 00:56:41 -0500 Received: by mail-pg0-f68.google.com with SMTP id l131so1644356pga.2 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=hB0frNBFGDXHKZXJ+2zle91HnmZzX8TtP1jord7zJLu7OV4gROt5GLAOSV4DwjworA 896hoobIkLdriKnny0mzSixkRJFLeihmaba94Baf50u/BUHliXZ67j7+853QhL9QboHI ppJX5HcS+FfB6bTRXL2vKdwI63FqTtzSm6Wv/edf48PdCB83xYEsBqDVHZjLLBSVlx9V nRZI9xZA9ixxy2disTC8Ow7ssdVUh6Z+6yRmEq+wEdjipM9AHJRYQH0K9hLqZEDC5tbA gHT8kA2C6bbo+n4MowpQTmhKhZBlxazfKYu8IUdqLxYCfPz6cCMmPFvAA0u5qu+RSr7m PX0g== X-Gm-Message-State: APf1xPCZ15Olo13+6BsZSTFIy/dtOc4ICgdg5EZRQHYkmnDbQ+Pmsnxz seF9SkGRJlabH+VABLUtA+Jkn3hbJdo= 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 Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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; }