Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp737057imu; Thu, 3 Jan 2019 06:17:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN5cryK9AFaCf+H00ffsQ86O8E1lV6+triDE2CYfFBQL974MmJ9GJqphnKWnrBKgCcgsxzX7 X-Received: by 2002:a17:902:12f:: with SMTP id 44mr47653177plb.74.1546525062988; Thu, 03 Jan 2019 06:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546525062; cv=none; d=google.com; s=arc-20160816; b=l972RjBsKOPZmhtE16Pmv9lKDEnjJZ3jd4zavEVfSIZQi0lZjngTYPNb2nxKsvvBDr PGrdpIUdTCraZt2LQl4mzpsv38jcdGTPr/cDZDMp/m7PWQJXIHxtWEdQ32usPyDFzARC KUSbFTN4uiifGC8OwbZ33WXbKcb2oPpnXid4JwpTYYx4KJc16GeadWtDfk/aeXA5hGzB 9r9T2x4Er3o2Ya1PlNTDg3rVKEKltHBTKoCUJt4NB0SM3IK4nq1wo0T1Zy6JV3/PCDzc eW/eFj7+KKVeUBBNgn47MF1QKT5Pot1vVKIrW5GydT/tlSb8OAst9TYWfyHysU2iS/gF dp5A== 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=R/COozw9oDgtZ0q+2YDUW+50N3150w79gWGLs0oWhsHYYD9oQd0L0Hrci3rlEyK4xZ FsI+ZFqflb/7gyIZIoViCUnB0PPefOhhhxxBfRTFCwe6xkfnh2ceYevL1yLwWQw9yLYN tPITVBxrYuhsjshcRZWcpRlgFUtbuuaFf1ZPIVao3mtJnBJu+N8AcMWpkS5aJyNXm6Dx xPlNHEdb4yLJ6vXYjT3wmF0maxsSZQYTB4k3jvlbAap2jXWKXWbgsCZoxFU7q1HloJNG H8Z+kF1AmzhCHXesGsfRKDt2hOjCQ5x+/Fdxu+m6fFQYUq9XNG7S5QOmBsAO9C+orddu 4WkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=OekfIzak; 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 p12si49650203pgl.106.2019.01.03.06.17.10; Thu, 03 Jan 2019 06:17:42 -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=OekfIzak; 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 S1730817AbfACKNS (ORCPT + 99 others); Thu, 3 Jan 2019 05:13:18 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:19160 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbfACKNR (ORCPT ); Thu, 3 Jan 2019 05:13:17 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 03 Jan 2019 02:13:05 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 03 Jan 2019 02:13:16 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 03 Jan 2019 02:13:16 -0800 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 3 Jan 2019 10:13:16 +0000 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 3 Jan 2019 10:13:15 +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, 3 Jan 2019 10:13:16 +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, 03 Jan 2019 02:13:15 -0800 From: Wei Ni To: , CC: , , , , , , Wei Ni Subject: [PATCH v7 1/3] thermal: tegra: remove unnecessary warnings Date: Thu, 3 Jan 2019 18:12:47 +0800 Message-ID: <1546510369-28491-2-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1546510369-28491-1-git-send-email-wni@nvidia.com> References: <1546510369-28491-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=1546510385; 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=OekfIzakgA/ijRqRBV/Lj0/DHBOm4xc7BaPwgaTE8MY1q6ECqEilEGJ6u88t/Hgyj UbYXnIquoJAKUhdokT9V3Qq23TeORVXAHsEqtFzbDhlYzSNuyE5zIiBwOf4rZruh4R jeDge8ChoFszh9cBYVFw+VL7BODBCvd9AoAfhFLr5fJs/dKZfJnc04q0/5bm8AomQQ ipnXWST3MJU+SVuZLGAoYGZJdOxnIYF+hxOYwea2Ucyen0ETFY2svl5ONmvWp764IZ DsBwP/3T+n5pMXAwauCUMKoSkk53p1c9s6ylHOq5yU1cnCGHX9k5y3VgyBx4crhjnk ltBXbiyknNKMQ== 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