Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1867187imu; Fri, 14 Dec 2018 01:51:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/X+ncMy7QLDSVjrSb6ZwHCCerk1xcjdoUaOZlkiIph51aXBHAaD3r/9KVbjTUBcxJAYIQJO X-Received: by 2002:a63:5026:: with SMTP id e38mr2098758pgb.123.1544781071423; Fri, 14 Dec 2018 01:51:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544781071; cv=none; d=google.com; s=arc-20160816; b=V2h3aUq8+GrL4Muh6gzQfMfkNuleEwM+z9srm9WUhoJiBsi0QXDN7ZJc83lPOgFkFk QSmAeoFfonzKS792/7hIFvHq3hEXgt/mzLS2POJ7yH9g3VQ435gQZtXWrYjnoYA4ylbj 8riXI+DNtBtRyVC6Yaj9vNtIWRR1pzEhWJ3Dh+4sPvmDV5xGVcMtM9XmdfR2dOLunkTC 2nimFkyVqIHo/FP/mp+RVHvd82rCP0f+gHHXB84xoZd9wdyZ6xZEIETUT3naXOW9KVPR 9rSd5YruEDRmqTXK9XJKNybU5MpJzf5x2Eof9MSgaPAeb831qnz4nE/yBbCTTtqJ7Vv3 +qrg== 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=CIAOn2sEPPbyAd05vU8yMm8rjqYHhrJH/s8j68mzeFE=; b=SKTQNSAipk91LAZatLAuPFgLBCxZDXFscNq+PpL0s+dvmR9A1G/FIPRgRsxyEzYpH5 8+1G2v5wyohWgl/Q1I+KXDlehWr9qMkDJ/bEObjpu2NT1p6pUcVZuMqnTFjeS0o3JCyM W2f473W+Jk40pz+kW85JsEgYPLiSC+njpDwqFKUXQoLfZfew03dHjHZSGWDX8kymOs3o +KIk8DAHsGIAvBJ1CRzJ6iZLT9SLhCX51vrH5QukhDi/iSc8+XIns+CdyTRgBFaz7pEt ITiGobvQogeexLHv4Si8YWJYjSazNMotb2q4Tf3esiktBSX0LEX5xwSQPtpkohj7qYJb dWPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=O8ARterm; 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 q10si3600948pll.221.2018.12.14.01.50.56; Fri, 14 Dec 2018 01:51:11 -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=O8ARterm; 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 S1729192AbeLNJuD (ORCPT + 99 others); Fri, 14 Dec 2018 04:50:03 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:16062 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729118AbeLNJuB (ORCPT ); Fri, 14 Dec 2018 04:50:01 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 14 Dec 2018 01:49:57 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 14 Dec 2018 01:50:01 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 14 Dec 2018 01:50:01 -0800 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL103.nvidia.com (172.20.187.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 14 Dec 2018 09:50:00 +0000 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 14 Dec 2018 09:50:00 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 14 Dec 2018 09:50:00 +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 ; Fri, 14 Dec 2018 01:49:59 -0800 From: Wei Ni To: , CC: , , , , , Wei Ni Subject: [PATCH v6 1/4] thermal: tegra: remove unnecessary warnings Date: Fri, 14 Dec 2018 17:49:50 +0800 Message-ID: <1544780993-20744-2-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544780993-20744-1-git-send-email-wni@nvidia.com> References: <1544780993-20744-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=1544780997; bh=CIAOn2sEPPbyAd05vU8yMm8rjqYHhrJH/s8j68mzeFE=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=O8ARtermqlKGHmxEmQopu/Ha3YzIm25btq7RbrvdUBxN2SbDRV9Ryr8v3BAMWV+Ty r+e9bWS5xNNKZ08upFhHumjoNW1QIlpQ97nspdOBtaF8xu7jCMMXP7lWW0fA6cpuhZ foCUwQ4oDc9sYDY3R6OtWDfY2uZJp6z3W7arQb8Vh0FgkPjJi9B2t6C3DO/DhH4rpz H7FmfWkJ9oWCTivosT34DdSikbigjqOMxcJlDJH0YTavsuq5E0HfDDJ2FUUzipa9Wv zbVzeTffoMwtYk4f5+hDtkuw9TJIHcWsegPV4fTkXLlUHyirPTdhcK3L2LVXxqV/SH n6ikmwmdsgJsA== 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index ed28110a3535..f07de8258e93 100644 --- a/drivers/thermal/tegra/soctherm.c +++ b/drivers/thermal/tegra/soctherm.c @@ -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