Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2267668imu; Thu, 29 Nov 2018 02:10:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/WtdLPTkTn+Z35mV/kvm31x0XOymjTt1etmfJRrIhe7bX6kWRze7GV2rjMyEGJhYpizDViW X-Received: by 2002:a17:902:66e6:: with SMTP id e93mr838367plk.92.1543486256749; Thu, 29 Nov 2018 02:10:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543486256; cv=none; d=google.com; s=arc-20160816; b=WqJ1o4u7STcn/c1hN3oNgtWSFL3i4lrdA401BiOUbx1LEdCRHjvpvFm7rbfs2o3WwQ qnzdHX5/JmAOaLH0+Xk8Z/wJ+H2mmlvLBqYGql4YqDRCiyAb11nQivRw4DrB+MJwIESi LkDAKMiAxZyxoa1qEDtQ4JLG2vwCu457eBZeuxpdNlL+yGksCAURNaOi64VjLasIXnvM 61L7ZBYd/YI4D+IxdvrGvAnnQa/6IIPi61g7bzP2GD8w2rOKcxDlA/9ptiTfle9sx509 QRW1rRYC58Uwz/AiHYr2BieEixl68HMPAfU+gUZXEuoo/H8zE6U9QftWgGJciOCFmwD9 m2hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=tiSPTxwuKbullojPR6io265Sk3vNB/HOZVXyZXeLi6c=; b=haVS5YYXSrmIf6PYlb/85a82tSLjDwHmOHGmNgVTKlgNNn2igmJ1P/aSPvdQI4DKBJ gGFqv2OYaZme3lzJf1O2UHTqqKw3tDsW1M3XQ0oVmFdRRaewSDrelwe/PmlcTRVV3M73 EtV0s7wdirxMzcDLO0pDZMdr5qLt/XY1CeioxOGjCBVs3BDOFSe8ol9+wFdBl6SaYk9s oINil6iRxQBenXOXlNVWdXCSEsy7pnKZD6hYwWTHrrW2rMkDiKpj7KQ5mFQE3AiJlTEY NDAng8f5bMezHNwghGZFXdznXQXJuwJB9DXqkRpYBlZef3i5NHom0cpIVeiGpI2EuEQc FHGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=FXcZWfRE; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si1917390plc.0.2018.11.29.02.10.41; Thu, 29 Nov 2018 02:10:56 -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=@nvidia.com header.s=n1 header.b=FXcZWfRE; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727860AbeK2VOr (ORCPT + 99 others); Thu, 29 Nov 2018 16:14:47 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:14799 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbeK2VOr (ORCPT ); Thu, 29 Nov 2018 16:14:47 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 29 Nov 2018 02:09:14 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 29 Nov 2018 02:09:57 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 29 Nov 2018 02:09:57 -0800 Received: from HQMAIL112.nvidia.com (172.18.146.18) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 29 Nov 2018 10:09:57 +0000 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL112.nvidia.com (172.18.146.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 29 Nov 2018 10:09:56 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 29 Nov 2018 10:09:57 +0000 Received: from niwei-ubuntu.nvidia.com (Not Verified[10.19.225.182]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Thu, 29 Nov 2018 02:09:56 -0800 From: Wei Ni To: , , CC: , , , , Wei Ni Subject: [PATCH v4 1/3] thermal: tegra: remove unnecessary warnings Date: Thu, 29 Nov 2018 18:09:41 +0800 Message-ID: <1543486183-2868-2-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543486183-2868-1-git-send-email-wni@nvidia.com> References: <1543486183-2868-1-git-send-email-wni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1543486154; bh=tiSPTxwuKbullojPR6io265Sk3vNB/HOZVXyZXeLi6c=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=FXcZWfRE9n4Wr7wuSB4Hy76BSVZ5Q4LV1ZLGffPJnPRt4p8BnXQ2RngfPLa5nh+w0 2L7g9bIOyi6AMIEige1faRw2J3vKo4KNf7Q0A65777f3RpfD48QbEbv8hzWD38QkML ax8axivBwHkV7RsQDJXYONQuij7kWJRJ5TikS6GlPL4W9iHfUEJ1H6yAbMojj0eUS5 bTRvHzqthEhpKyvPsEba9JJucf5h5Svg1UCUWWW2ASydS3iCAU0eBGjrdPURUrM7HR c/g+7iIdADcQybPiX7F6W44SQl/D2vo9g6U9b77/8VqYjKgXsdSdI/yu13/LIR68HT mfoFWONIVjCXg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert warnings to info as not all platforms may have all the thresholds and sensors enabled. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index ed28110a3535..55cc1f2f6a45 100644 --- a/drivers/thermal/tegra/soctherm.c +++ b/drivers/thermal/tegra/soctherm.c @@ -550,7 +550,7 @@ static int tegra_soctherm_set_hwtrips(struct device *dev, ret = tz->ops->get_crit_temp(tz, &temperature); if (ret) { - dev_warn(dev, "thermtrip: %s: missing critical temperature\n", + dev_info(dev, "thermtrip: %s: missing critical temperature\n", sg->name); goto set_throttle; } @@ -569,7 +569,7 @@ static int tegra_soctherm_set_hwtrips(struct device *dev, set_throttle: ret = get_hot_temp(tz, &trip, &temperature); if (ret) { - dev_warn(dev, "throttrip: %s: missing hot temperature\n", + dev_info(dev, "throttrip: %s: missing hot temperature\n", sg->name); return 0; } @@ -600,7 +600,7 @@ static int tegra_soctherm_set_hwtrips(struct device *dev, } if (i == THROTTLE_SIZE) - dev_warn(dev, "throttrip: %s: missing throttle cdev\n", + dev_info(dev, "throttrip: %s: missing throttle cdev\n", sg->name); return 0; -- 2.7.4