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: 129145 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp240205lja; Wed, 21 Feb 2018 21:56:52 -0800 (PST) X-Google-Smtp-Source: AH8x224K/n2Lf8wuETxJJPzIMQTOt9tOgbskz1htZYO/e9htee3+uA6fRxbNP038yVRndKtTwil2 X-Received: by 2002:a17:902:624:: with SMTP id 33-v6mr5613506plg.126.1519279012303; Wed, 21 Feb 2018 21:56:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519279012; cv=none; d=google.com; s=arc-20160816; b=xX9d7ylPWlgpBoXzB3VGF5FxvDeJt/jxk4kQv2Yi4FRZxxxO9OfdtJg6ELn45FLScU HKkUTzajEJ1NuVehbTNR4nA4+dx6Z1+7+Cim1YOlR59YaQHI2bH96HlOS53Jppe6RX4E APDsENd6Kd1nNtTiU7UT7iA+0RMD7CmVyHvYA6g7o7r1wAgUNQDeamJisaaOXZJa7lr2 tMgYS4iIUr0VtxzB2I5Iif3grbetYh7UXkBeqlc9iJcmg4ZRP+3yVfpSmtyMeugvEJt1 NKXdd0dsJ1Y41/9rlaeucZjOd1vyjTfKVHjtZJoOGZF5JI3FN5U5QClAfGKfo2CsG+CH 44Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=OM6/1PCAM1bX73isggmg1D3OFqsGIMIFK8NtxnC61Ms=; b=TYBli14KtyGf8A7KEDHRfIpLWMOT0qOtIPSgMu8nvaPY0XCZ9HvtIoD/gHA2H//gOY 4aHGr7eT/YtnTEMLlak2k3Cy4iADyE2iink9exEP5f9f7xbGtc7Y+0KRcKlsJJkMMVy2 B9XkiriPp0vRV3k3Dp3pRL3ptS01MmtoWfMKl2hGTgAUfgDBeHA3C0iy0NSOfY0MgcGs RBbTBiyN4/pFBTy0M+javIzPmnB+NVRrPNaxqMdjcxOgsA2+MryNGD8KG9FPon+STSXl 5tIey18U23GCkOP++vvGqNx0Jr2+XAy2GNSyc/hdkibzggtGch5eP5heb1+Kj8xYIG0z fADQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VqNGVBC3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r26si1122797pfi.378.2018.02.21.21.56.51; Wed, 21 Feb 2018 21:56:52 -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; dkim=pass header.i=@linaro.org header.s=google header.b=VqNGVBC3; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752405AbeBVF4m (ORCPT + 28 others); Thu, 22 Feb 2018 00:56:42 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:37900 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbeBVF4l (ORCPT ); Thu, 22 Feb 2018 00:56:41 -0500 Received: by mail-pg0-f65.google.com with SMTP id l24so1642292pgc.5 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=kbbvZNiPXlLfBne696DDE7s4jg0yNtyPggpcTyiYPiR/Iu5Ay2+1r+QP1mEVuiljxa G88C/EY7shqMM7dFntFzz3TyOPGPpsyTvIweljooZw0Ra25zkSwQYOIb8pF3F/XeSW4o jGbawiS4yGZG3/K6rLlOTd2nglufkut3xe3J8+vYNlm+ibXn/zd7fL8BQg5qG4Rf6hcG TaRsY8YgdrjMphj9LK6ooaK+tfwTFzwAXzm4E/14zp5rO/4oVUqtcG24g6y+ZbMPljJ0 w+5yTIzb17djQIgy4D9TnXqsfC6lfMF5prYsXE9mumb+DDHVjwqL7w48Ryk8oxnn7vCu tV7g== X-Gm-Message-State: APf1xPByTWUJwFBShQ/NkR5ZgwuiRgn1the02AlNL6VbiPRGbTKobBLX JBFg9DRL0ywp5BwJ4UyZEZxWDw== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.15.0.194.g9af6a3dea062 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; }