Received: by 10.223.185.116 with SMTP id b49csp1542257wrg; Wed, 21 Feb 2018 21:57:34 -0800 (PST) X-Google-Smtp-Source: AH8x227LZuPRiXMoXAw/B6q3GCgBl9jMzm89wDftbc09tqMZcjFPk7da5hTvXCvdrp9EpIP1rWX/ X-Received: by 10.99.114.77 with SMTP id c13mr4722339pgn.286.1519279053979; Wed, 21 Feb 2018 21:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519279053; cv=none; d=google.com; s=arc-20160816; b=InqFbOEznuIjxpgPIbr3Fklqc1RAGx6sNzIV+Frhu2FiYT3NHX6/qq8hfSmyOjt4E2 D7b+r8U8xOLaJnS35LdcIcdbNHXOr69gv4aIdmM+Lfx3AOBEJH8+UyO8lN/+rzqIbUNU 7bsCM9j75KBSsSS5wHIQ8GMaGeok4t9t1RLhqNKDR9OiwJOY7tdv+0uPnJBtZ2xELyeq bU8EwXuhl/jEmBCgdJ6suNU/Rk/5a+hYrgDfwZnhiCs7p4dOGduInIiN1dcYA70oEtxW 4POkdlKONCPABNa5WLWN/cceQv2M7kqAYtLyEZ9AT5ANG7PhrNgrXsHRFhpFeMySncP2 k6Vw== 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 i12-v6si3000833plk.508.2018.02.21.21.57.18; Wed, 21 Feb 2018 21:57:33 -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 S1752399AbeBVF4m (ORCPT + 99 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(-) 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; } -- 2.15.0.194.g9af6a3dea062