Message ID | 20230613114904.15749-10-frank.li@vivo.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org> 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 8C743C7EE29 for <linux-amlogic@archiver.kernel.org>; Tue, 13 Jun 2023 11:50:52 +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=IQBgBQ/Ruzj9pP J2oo+BnAbWgx/nUQiLrkSRDqPPJphBu1hlHgtOHRE/SBRb2+uBwdFNWnm49WVMoqOZRzbbtwV3g97 rDI4jitIxrSOqKktcfcEG9bC0rJAtdtjg2M8+qrf3clWlM/GcqnI6xW+QCnJ0vgIiYbSWZINF7uqz 4pSuK12+7CM9UzbtnHVHg9txO7N4woVvbHfNXNV8afWv4G6/aTrOPXbYv7Vqzt8pUy/26JZNbUjNH CE4VTnoAvuDr66TumCi86wwuqyezvi2iFDkoJzd1oZjVceDKKVIsiLUwl4n6cwAlCKWre89SV2s6J S6iD9+Wk8J63J3XxEltg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q92Xe-007yKN-2T; Tue, 13 Jun 2023 11:50:30 +0000 Received: from mail-psaapc01on20713.outbound.protection.outlook.com ([2a01:111:f400:feae::713] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q92XP-007y6F-1g; Tue, 13 Jun 2023 11:50:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iVMMY7rm20LQ8CAUSCDAzMxYrLczh92xVpab8dnhM/OrpmX6oWZQXo/Iu4AVt+gMvCKVVyxBS5JSDbLhTrzj1282IEgqX+mEuDEVaSzRL828zLt5aCKqIyWf/CYKMjfhFgxkGBSWAZdBf+Gw4fXdOi3cDPWiDJ0OSMjtA/dcqUblMZGKXRurxgsl8xVNdLbdMpawKJpijmyv0La1NjnjSuVppLlAu5ylvz0gxE65r8ZGo8Ddg/43rcDLWm14fVuxwPR3ntHeZCVXwXhYyX4BL55c5Nl3FC9oW8O6eeK3fowVkzdzG0vc+XRhbMR/l4kMxjs+bzDCV+HgVYgy43eqqQ== 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=W0mOMSDm5qqBFr+zDcKxa2Dxm33394WZQpPaR++gf2PRQpu6Qo/wImgVyHUJz5pLJkrXkfQj72y+jLXIXeDkI227fZ7hLZ+XbpJfYK0amOZhUIn33TcyGLlwUIC/Ppa+kqQQSFHzcBrXuJPBWc/pp7ZvSZoTd7u3sExiOJQI/OlIkhXnY6TrAzbtsU8+vseapooAX3o9ZqQkvFybNvIV48RlUwN+5GOzeb9xLHthQNyLjUBYDPk/OrKPCo619L7vrthaW16egDRA6JJMIzAovW4WctQYudTOxmxdW+jNFSHvcyO8VkU/N1Or2Pc0ZZQdQu+tSEbHcd69Fz+hWWXz4A== 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=ZNKOu2JQNtwVesmTz9LT/e3fpBgR7OZ63pbo9tSMrwneGa0DnUbDsYJtw1qNqYxPKTR/DkxTd8kkffNisCQOQr2POoy3HoTfcDgpeWPamo0JJwZGwyLNKzZcw8/McNTvrvta0iy6eo4E99q9iTcahmbJVoDMQFMbDFFeHcIpSohjLhdoGiqvP9nUmlzZCtVXrylYYBoZJQmxYlg8M1SDct8/qLp6LcxQUODOw58CxVEY1vv0yrFGbpw51xiM0u6PzOVUB34GxzRrSYUxedVfRD76XAAs9Y91Pwqam8wbW+r8EuVS9Gc/Jyj0oNBZ+O7mfetfrEGzHZO33zxZZ+dF8w== 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 SI2PR06MB5315.apcprd06.prod.outlook.com (2603:1096:4:1ea::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Tue, 13 Jun 2023 11:50:11 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::76d6:4828:7e80:2965]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::76d6:4828:7e80:2965%3]) with mapi id 15.20.6455.039; Tue, 13 Jun 2023 11:50:11 +0000 From: Yangtao Li <frank.li@vivo.com> 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, thara.gopinath@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, 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, niklas.soderlund+renesas@ragnatech.se, wenst@chromium.org 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 <frank.li@vivo.com> Subject: [PATCH v3 10/12] thermal/drivers/mediatek/lvts_thermal: remove redundant msg Date: Tue, 13 Jun 2023 19:49:02 +0800 Message-Id: <20230613114904.15749-10-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230613114904.15749-1-frank.li@vivo.com> References: <20230613114904.15749-1-frank.li@vivo.com> X-ClientProxiedBy: SI2PR01CA0038.apcprd01.prod.exchangelabs.com (2603:1096:4:193::20) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SI2PR06MB5315:EE_ X-MS-Office365-Filtering-Correlation-Id: b5ceffa2-2978-49da-3e24-08db6c0457f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q7VvTzA//gjKALn6aFbKhpt8kbGD9ZZpI29XC3y3pXywAGS/C6CKeDTQLeuFcKhPIyLPBZourTBYKdYbWIO/ZFIRrxO/Nr3vFbSFBCV8U7M4J3aGWsjmUJAD7PEIErcnx3X3dzIpxfR6kUPRQnLVjysKGQ6kRJa3fguBkDzur+pVljMG2bxCpRmrU+k8MX7bh5Uqe8D8/DVuXXWGosbJKDgBKa7wy+eSOW7T7Jw/5OtLske6BlzH7iNOh2Ka74JPLKgLDVGg1lAnmgPbCaK2gV2yHU/04gri52klxXAFks2Q11qXKGa+3va5VESNwA+gcUZNbFtJiSbA9k2GL7b91DdQ5JHdIWp2liX0twfZqYvhPIo+OC29knuMs3108WXA2JQu8uO4MlA/6VNn9syRnM4+NtmLRbVBip/CTQcwDlD+Ikk+l9o155uQecDliaKSDUMivBDMZx0bx4gUlYVDJvGwz2EaSCTl0QqHT4pmP8fdMJULzzIfSxmdVaMaPQ4p2qfHp+GEgCLgt0vXJQ6uCnkEf9mlx/IMETr0q17+oOBQeU68b80CD+mHAqGcMEj01Rv9oDUEHBYQkMsNwT9jeWPaZmFaxcY2OPb77n6gI6E41Ls34uFDQMEejr1EIr7LusktlwqQxJPtJo9kq5qc1w== 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)(376002)(39860400002)(396003)(346002)(136003)(366004)(451199021)(4326008)(8936002)(316002)(7406005)(7416002)(66476007)(41300700001)(478600001)(186003)(2906002)(4744005)(66946007)(8676002)(66556008)(5660300002)(6666004)(107886003)(52116002)(6486002)(1076003)(6506007)(6512007)(921005)(26005)(83380400001)(36756003)(86362001)(2616005)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1y/IPMEzD+Sqc0vWWmFGhJrU9LVB4QddQZWQ6m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xrSlidJqJ4aKKtvbtRrFggnYKyE5kNqJJ4E4USIqcARon6wYWIwM37Net6HoozAkNy38oZLtITQ8euKhjoxkKQh8Gu743snhas1ZiuNfBI77C49tM0VMqbWk5/aDw19r93g9vEw2IUqfKU7LdM2WBuvV+Ez5V0ROQV0F7NGycUEArGVu5rwQOcQzrGSEh4MBvv5nEx/3mgpp2FNM9EiMgGATWRB+1PLTs60BIFz9Cdvdayh32M+26oOLv2nhPuBiYbQuQaLsFGeR8S8Vg0iE+Ifw3LrikjIsT/gjLPh0mPrDVlnm4OEWZon0hxX2LaimWkotPd5xJ6ESHbIZrYpyJE9xPx4zRNKvkkeZWqAbeDY6fp1yCR2M3R/yhVHfo4FgqKjZKobpkcweUHmsnbWNTFFB1uWuiUWuzy0ZpVxCT/2+3bRxfBKjGoUKWnpNBcQX4t9nr/xN6wKmYsvvb7tkbBOCnbsqZ2FeVqRvnob X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: b5ceffa2-2978-49da-3e24-08db6c0457f6 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2023 11:50:11.6141 (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: KfIXBgZPrn+Bo+rvLkwLD18IQXXwAXYlLXeVyxsAZ4OgWWcLXREkeIcvhCNCV77glreBiVAN7vGRx3ltS9zIxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5315 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230613_045015_586502_4568E8E1 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org |
Series |
[v3,01/12] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
expand
|
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
The upper-layer devm_thermal_add_hwmon_sysfs() function can directly print error information. Signed-off-by: Yangtao Li <frank.li@vivo.com> --- drivers/thermal/mediatek/lvts_thermal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)