Message ID | 20230620090732.50025-10-frank.li@vivo.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3548434vqr; Tue, 20 Jun 2023 03:00:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7C7+Je5odX9JOanKnxZZsY4dGVXydfnCEOXFs6fhrU8gL1GToAZHzL93oiqHRPcQHq3G6t X-Received: by 2002:a05:6a20:734a:b0:122:cb18:2e8c with SMTP id v10-20020a056a20734a00b00122cb182e8cmr687479pzc.6.1687255202464; Tue, 20 Jun 2023 03:00:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687255202; cv=pass; d=google.com; s=arc-20160816; b=BQzAYyIdBoxVVkzLSNIzWcJjQiThiAPk1fRDZ1eDJEKlfPNTDR2rLO/r9CCKYBrdij gvwmaNHENIrqJs/oom5CHatnjS9kFNDoDusZrJNCaqW/Zk/cInJd+ieoqs9wky6/H/8R 1+1wiDDX2ccFrKprdDluZalur9t3rmAQcg1L03GBIBSt2gGKrWNY2EsvshfydmOd6JQM iyXuLB/N8XOwlUew85px7XFpS545abI/c27G3h320aaEDXcjb4qEldTTcrqLXmuMHVRI 5UxhD3tKYVcuSQnGJMT/rpS7Z9KZBtfLmlMqSQMUUgUNVVYLisEj3gwfDKRCQ9EDzyuV txWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bk4+vwP2LX5ms3J7DsZ/rzhNLWz2N6SaCmE9A+Op7eE=; b=bF2GuHnro8XQqSAIgWPHcARV8TiHE0uMQqQdnYHRTcRzf7Jj0GbWGTpHpmMUfTZC1U qWL+Uzb+dz/eIuKBpy8gPtcAj5yjNgVtUH50smaiFNymgVPiRhF2dNrEiH8XJOtM2u9S uO+VrltPVTXFibB9aYjLGTcSWcc5556wnS5XuxWX7T/5Kv1Xx7qWuofPI9ZUqnuBKnOU jSG9AQGguwjSuncS7Aek0tavJwn9WFM2TEYBG3ZQ7CT23h/QDa8QLjgEBo/xNJC0GJmD yBklxbDJ3Nl92MrffuTwSTNuomUPRt2zbjlf0ZrHXTeNdtfcO7zep05feQeEc13qMA1l 2Y7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=LnXw6r3X; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020aa78ec3000000b006689345c670si1349183pfr.142.2023.06.20.02.59.48; Tue, 20 Jun 2023 03:00:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=LnXw6r3X; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232212AbjFTJNl (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Tue, 20 Jun 2023 05:13:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232098AbjFTJNS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 20 Jun 2023 05:13:18 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2103.outbound.protection.outlook.com [40.107.215.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A6C1FC1; Tue, 20 Jun 2023 02:12:53 -0700 (PDT) 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 <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, 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 <frank.li@vivo.com> 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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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-Chunk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xkpIQSY+GOwQ1+YYHdklbYzoJsO1St85g8ZeJObIAcnLUOHtfaVJLE8PZKSpYtSb03jJRD5nkOobqqWveSFK6X/DR1/ik8SOK/RFJ9dIyQ3gXOoI/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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769215311539275133?= X-GMAIL-MSGID: =?utf-8?q?1769215311539275133?= |
Series |
[v4,01/11] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
|
Commit Message
李扬韬
June 20, 2023, 9:07 a.m. UTC
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(-)
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