From patchwork Tue Jun 20 09:07:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 13285418 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F1A2EB64DB for ; Tue, 20 Jun 2023 09:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X+TyaBVnUo8J9TPMoi9CdDcPxt0s5diEZGBzhuvLNlQ=; b=l6ub4++ZFWSUdF iPDq1N5UhDJoqJSRgzTM2S5bHG0Cee9ikRl3pttYGM8mJMUOb0++IfB2NMk3juRQrSiEJfDZrNIhF AV2+PjyhBoXS3Hlmj2M8lUuIzWRlrI7PyHVlp9fddjpSScZjjsg06yERR9SFY55WzSzcYhosCU+Y7 bCuY9/ZG68C+ggeCxEHEnZciCKQD/CDkmBLYkhNCDpCDZxyxz57omom+7injDAUes9oaGJssmP+gX 3kppiFzNUjQw7lrFVH6R9Xqu+bvrKNA1156vQ2aSrIPZBACcu12VAZWG/CqNYLY92/jdBQg2uNCY/ nEaJBI3ZjlqLERVs6Nmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBXPQ-00AggM-0C; Tue, 20 Jun 2023 09:12:20 +0000 Received: from mail-sgaapc01on2071c.outbound.protection.outlook.com ([2a01:111:f400:feab::71c] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBXOz-00AgGI-1V; Tue, 20 Jun 2023 09:11:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M8YmLW+74gNG9KxZ7NhyB3wpnok+a6iNTSTONClCH8/rUTM1AeIab6P2fd9/JLJAkwNERLGh5yWn6iJZIztzrYvNI1TSDkJxnmIonsY00dNX9TQ9W7pjmQwQ1Y93tGgvQL16TzrsRkYr8UrgQcfXqwYRt5Xr2sbH3nur63P1TOCY2+rgAjktQ/I7OUnaA70uJNp7zKhO29vPGU2Y/gZZ+XYXH6+Zbsk7ohtLVQ81VbmT0DhboII1F1lkWMF+v0/BTp5Xs6cWscbAWSyKvmQdhRDhvgucCrH+RNQtdxx8nm54ztxnxU8f65Foyp8JdvBrhGV+E8eKhBFy/x9H9nZcbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Bk4+vwP2LX5ms3J7DsZ/rzhNLWz2N6SaCmE9A+Op7eE=; b=erOKMFgSITBvmQOM067DyG1DTaOeEzOXkG6o7u2rILHTmbE+Ki5PNM7MmMPhi2TanmBsmsuVg0EGxXs4j/OKndgwVBt/hDaSuUtnYStrz4tk0x9wMlxD+zL7Fc4BQls7IoQCrBdDxfdtN3v758TURjx9wNK1lZgv3np1HpMHCNgwhfxcQr5DYO8dk3GTaX7h0zfl5eL318em1RrENoAhmfZ7hFWppe4bKOse+GFQVYK1A+RXWs/1CzhtztaWLqVsEJ2/s+g4OjJqNtFHx9xAzctnwNgwTGULHbFkImZx4YTPe+FKSCCzPrgDmyz7VeKyabix4VP5658iCc0rcSohtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bk4+vwP2LX5ms3J7DsZ/rzhNLWz2N6SaCmE9A+Op7eE=; b=LnXw6r3X2mAGg1hSCKVWe4W8NCBE3rmVCs3bi4e44i/LWhfhjMFTx6wqqai3xrC9bBuoUNB0AeC+Wwa/p7KrCfS+OcWPSEGMo+dQf3u42sKe9S9NKJLmwwD51YCOo7Fg1FHADaznHG/yYEB4Y1rI+utWki8b8e33GtDWRVrlYiQwQuCXGFaue3dXxtfyqzq0omLhsxyc+QknkwAx6E57IxrucOQEgR13w5pLrMMTa+47BzXThP+nY1JVfFvfX9KOVUOixGX/lO6zFqZamLMRH7ndnjMb6pBhcPL8oGpBrpCFMyAuoMvCflNeOaP5vVWs02Q6LItPfT197gNUhVk1YA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by TYZPR06MB4510.apcprd06.prod.outlook.com (2603:1096:400:65::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.29; Tue, 20 Jun 2023 09:11:50 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%4]) with mapi id 15.20.6500.036; Tue, 20 Jun 2023 09:11:50 +0000 From: Yangtao Li To: glaroque@baylibre.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, anarsoul@gmail.com, tiny.windzz@gmail.com, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, thierry.reding@gmail.com, jonathanh@nvidia.com, edubezval@gmail.com, j-keerthy@ti.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, bchihi@baylibre.com, f.fainelli@gmail.com, niklas.soderlund+renesas@ragnatech.se Cc: linux-pm@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-mediatek@lists.infradead.org, Yangtao Li Subject: [PATCH v4 10/11] thermal/drivers/mediatek/lvts_thermal: remove redundant msg Date: Tue, 20 Jun 2023 17:07:31 +0800 Message-Id: <20230620090732.50025-10-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230620090732.50025-1-frank.li@vivo.com> References: <20230620090732.50025-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0014.apcprd02.prod.outlook.com (2603:1096:4:1f7::9) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|TYZPR06MB4510:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f507d90-2c9e-4e88-72f4-08db716e61b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 98xNMy8CPrBD7lcQBYCnX7cuct7muGp2DVw15PBPZFtgQNOidRUa8VrWXRYgPDiLlK4JgGGMIXhcXGDPa65SJ/1kKzDWFjcoNG8iBcWZyyp17zE/e0L2bufOgIPa6ZTUSTEvBfAMMtOaGiErovuNapwoDnK8dBYJ6i13HRSBlbAP3kx2OLCw3lOCPtK9ydxGBg7WYQE0qYua3SJTjqugxYwmNJtyt0xuXtO9MNbuyZ2AgAN29ntTuYPMJtybUEdFbIeYZRXUs6C0bL0ZLrAEyWTIDU97dZ9AW0L+GqsLkrL/8OntI+7axzXWEpB+/CSw7MC3JOYgv5lREvQIl58e3giw/kCyOwqqjMuAcoFhlnriE2OxpSaXmKQkycMljOPswmlFZetp3PDtpczKwjT+Rveza1A0csP5aFjnD2AbKSC+0VbLCWKPU6i3FRFdvTCXtLZGWs2XLBSR/h4+dxMANWw814NCtB4PMJ8L+qjVh2RAc+0NW/5+NjKEZwv3WR5dmM6fK68ErdJJUwuVPl6dNCp6ydWYlVvNHcqqvmaN2t8uOsJ3ANEcyNqCYbdIP/DJ24um1StzeClshW5ZfwOljV7sQ9hOvUV7DKR/U7i8XIUiaHlSmHzPRCbUdGfPEvDVdt1kTWxKTMkk1/k/kZqYXw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(346002)(376002)(366004)(39850400004)(396003)(451199021)(478600001)(52116002)(6666004)(6486002)(921005)(5660300002)(8936002)(8676002)(36756003)(4744005)(41300700001)(2906002)(86362001)(7416002)(7406005)(38100700002)(38350700002)(66476007)(66556008)(316002)(66946007)(4326008)(107886003)(26005)(1076003)(6512007)(6506007)(186003)(83380400001)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Hvc5rrY5YsBkQgLUei1P25en7pCVz0Xvaql/CECRIiX3lRk//0hmG/SEpOr8Zkav9obpoklmR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9dIyQ3gXOoI/QkQvk6zDUFrPz1o3DwM4VbOnwFaFnaQLdoJuyoFwvH5FQ+cjgjWYEkcpeUCUC5ymBKFcPSwvEl6gjKZFLHcya/N2P4kh+XlSlX8ivOOi+MYk07fG9+N9z4MJGqlHG+G15ulTWcKftxTZ5/6t1E06Xxn/123CHRxGq5IxBYq9mkmEZ3VX2XxXseYpkm6+MSt9w+7TMa8GFVdCgt5ZlDe+bqV2y8Q/Qh0lxt6M09V+Z1M88ksxDVmvySoz+w8IOTcIUIr2UiTfQM2G6/v1/p95vJvgUoCVE6YLs78RMEASrY3Uv7J31s/Q3s3OYL3V8e2+wYCxlA/SDlKUueXeI0HtGk4kBPdeR6HGPgFnEsPBMh46zsyLNC3AOEFWBR5jDZHsOgWbIDLK5gZQd2EMtvsGOxzFq4FmnS676FaSwqz1t1Jo0G8AVfB X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f507d90-2c9e-4e88-72f4-08db716e61b1 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2023 09:11:50.4541 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7t1Iwqjx/XhS9AeBeq3VKcBvnzKfcCu6maFck1arsI93XdkWGbZCTnivxTS0EoXy/oV1lLrtD1EVgdQa/9Q6FQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB4510 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_021153_576995_4A800475 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org The upper-layer devm_thermal_add_hwmon_sysfs() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/mediatek/lvts_thermal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c index 1e11defe4f35..b693fac2d677 100644 --- a/drivers/thermal/mediatek/lvts_thermal.c +++ b/drivers/thermal/mediatek/lvts_thermal.c @@ -998,8 +998,7 @@ static int lvts_ctrl_start(struct device *dev, struct lvts_ctrl *lvts_ctrl) return PTR_ERR(tz); } - if (devm_thermal_add_hwmon_sysfs(dev, tz)) - dev_warn(dev, "zone %d: Failed to add hwmon sysfs attributes\n", dt_id); + devm_thermal_add_hwmon_sysfs(dev, tz); /* * The thermal zone pointer will be needed in the