Message ID | 20230613114904.15749-5-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 k13csp488599vqr; Tue, 13 Jun 2023 05:03:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4y80FNoexup2ExlL3s85mi6+PwgDM9vdK/GKXYgoQNDQQLk04ucbdVNpg5DUBs8SGoc+Yu X-Received: by 2002:a17:90b:1c0e:b0:24b:c580:1ab8 with SMTP id oc14-20020a17090b1c0e00b0024bc5801ab8mr9428652pjb.40.1686657827196; Tue, 13 Jun 2023 05:03:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686657827; cv=pass; d=google.com; s=arc-20160816; b=pJae3Yt9jBEl4PhCT22nAp2UTd4NuoKgkzL3yndczTwnCI0AKhQ+J+NjxQaGlaTxPX BdeUHw5A6DJ3VCj7kZ+u/dBCIsb2lQ8V1dOYN9+f279ZZIMnAxdac2CnRGMWcERG/tzc +n75Bjp95Pk/9oyceYosaq0H2JRG1Nh1FtNB5+zlDTZL+jA8FNXlBe4xCr9ukURK+whV bhs1f1Gaheo3u/zGvJViXPdtk0kCUtIRww0hxFprr6qBw8/OW1MVGuijAKtxSuyqAOFX 3XasLgasXTB22avxtJaDYsZaFdJ6UKqoLEE10ClovMigeGlT7vWn88Zi2hsLn3pWYx0o p4kQ== 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=tgjRIFM7XXXA1ZiuM4luxgQMbyvfhlw0vWc2ywkdzrY=; b=mBA+9/d1dJ4QHKN4WRYfbRvzCXYFk1MSRxKtqVKN83HMQugxh5UOyDehGynYepZjJT /PbVx4ZbzbfVYC1K6PxTvbelHDbEgMJFfeVajG9jSQjsxJhrwQzgTq8PvwKEgWcBDHOd mkzpOcjcMVaxAhusrpv3whxrOQ7gGT4giF8w4ZW1VZ9JLGGhnFoUunWzj9fouZDVgd6j WjcUb7iMV670KBWelZxIwB3eodJj8DwK4S+UFIE8SFNbYXv8CGIes8iEuIk6qoqp7CUK f0v9Wi0lSu4vhdZhEpLO+aIRovseenWjZbwOGYvNbOGFcLBZQVajCj32J3Ex5b8uqEnS esxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=dEJUo4PF; 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 m21-20020a637115000000b0051367d909efsi3244179pgc.106.2023.06.13.05.03.33; Tue, 13 Jun 2023 05:03:47 -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=dEJUo4PF; 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 S241780AbjFMLuC (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Tue, 13 Jun 2023 07:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241386AbjFMLts (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 13 Jun 2023 07:49:48 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2122.outbound.protection.outlook.com [40.107.255.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CFF410FA; Tue, 13 Jun 2023 04:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KHMRbu9spN4M+2E/DpGWNuuQLfrbdN0NMSR5bT/a+QGjzki7PlqVgURCcY3H9N3Z1NpplNJwcK1A/phErj69nANAvN1biBorsldb8ft7dLf3PK4/tFrfaFJE7a+MPiKPoRh1d3rluQ1VXi9jucxL8e1JMqMoNBTejGGFbO5PqVM+LHCvOB9C6VnkYJwufF+PfsSGCgn9JD/SNCYZlsE4jqocpqVqqAbC+azXRVk+wZYjZnBoHgB1UI7GsULuY2IHXrr77EcrCJDx2UGmU5DMIUUwi+YTBlLMJ1NQH9gg3aAjq/LQaFd62m2FgkMthN4Wmvu7F840TaZQ63leNK6XTA== 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=tgjRIFM7XXXA1ZiuM4luxgQMbyvfhlw0vWc2ywkdzrY=; b=dGMnftUHueEvJkWoag3E+Gn3m7wg1lePqjPK8bsrEvHAKthxiCkR7tilVvY5q3qgtIy0wcePUmPOQWyPG/CH3U5SSs0XfB677SOFTR3O7q1h4sruzDv0AW/wUNS9QzFNHWzdipikY69WAtmGS+f26kxaOvxhbzeG9xhA4K3y4VElwdcqwza9cBOEn8ovxITuyXGuRpxyNIvbnfIQ52zJgbqMAt0ADX/QoSJm/yMzIIqeZRs1YIk0C6Xqrw2RlxY8mPli4Uo2IuZoQG5UHftXYeFAmEide5jF3RYWpSzZJrfrI5JaUyuH/+1tCeUk+4VhNUD7cuJ63AXXoZ+itToWIA== 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=tgjRIFM7XXXA1ZiuM4luxgQMbyvfhlw0vWc2ywkdzrY=; b=dEJUo4PFu+DTdb+Fzx4EDBBcyuhsiZyCxEiOzHiTrLEi+CKmfLZhM49XpQUNApBsqFchVwLGLOuDOz9ed01g3PhR19sJEfcg9n5t3I+vS7sRRGngEV4zIf9l0tQCL08wMOKBYsFOkTJt9JlNc7OjuW2BhlKsbvfUmwtIwV9riGmgTjPD4AiBPwOsnZv7vwdt2ft0U4/ETznXf+m1sN/gFPeFTRKSCdWuxOef6eblNaVEMthtD9M3T/EN69twxHopDAI/GM2eo85c1I65BSlxoVR7TnzmCqdsGupGPrWgZG+00UWirhZrsGz01uFdUc/S6IYrzshaz3nH0HYx1wlvVQ== 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:49:43 +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:49:43 +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 05/12] drivers/thermal/k3: remove redundant msg in k3_bandgap_probe() Date: Tue, 13 Jun 2023 19:48:57 +0800 Message-Id: <20230613114904.15749-5-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: 23839056-c2e6-4103-8904-08db6c0446f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AH+OhgLnQLU2BBtNbPPGLFgB0y4VeY/bk+Prd8bQxB8vmv2M5xSRq3r4B0hKuOFiww6ukeoQY6OBh8DncizAHMbmxO3//OU3LBdo+CvB7qZhTg7Gurl00uJ3lOZ+eeVGRd4eCjWy69iyA6WdH1C2f/xLWHqDuHcQWTpvE+V0CD/0QOhgRrz90wigphPQIbJVgVTP+UoNI6iicXkzRM+6I5HjuAFG3hrbh8jdX2TZ1QGDC4+ZLP/jkbgtmK/iSvmZGNJ6Gn0J6oyRV1WJk82q+eobBnGiON20w2z9GZsj9i3vQvXIXrirWqQJlGi+SlduONIk7xFgb/xH7W1kWnPxwujxcWYv7oZJDiBfcqWSotCkLXReeZLo9FGVkzqnFeGEkAbf/RWPP12BRGbO1IJsxo7u8liL5K8RCU/w7uBFQo+wqWc744YPJtOZDT6BtF3tsiHH0GrE9jUs6Ggh+M4I6h0mOgVTvFRiXH5LARbKUX3ju52Ry9SHg2OpWAs5jFxX3jSZFAlb8V9/m9sDihmlcxNOVqaoqxphoqpy6x3neonIh2/VFp0LoE0iRCyIY7TBWQzGOjiJL7Fjn2qYSibby4SRJCVagRZ2SlCmuGfmA8zT+52C+m9B8QOcty5ixYryGk8VED+VHtQYA1ZGUNG9aA== 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: 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fILrqHFHHtnbTCaG2I2zyjvHso/A9Rao9Z02Abc9y4QWTRTrAk6sBiR9c+xs8Z4+Z8/BITC6LXxHEwfB8ShQVEiyZtawqG57BDOex1OlJmg8K6PqBaRtNV9CheIE0gjgJwWskHeBCQU0wJd6t/Q6qIg+Cu+5WSBsSS8Jm7wtL6RzMDpF7jkmdP7lAGrRHyj8NKoyQlrVW1spncA+3a5LnfgUqGQvmOHYDb1s1f/HMf9wWQj/ggKSD+W2cvriXOL1XIefv25+YBE8NEBsZIGvTuX1tb5WQio7LSWeD3Qwze6bJt7uygDOV3Q3YkFpd7uFdguo1uPg5zTA20VcXqdimmwGMzGrYzlojWSounbGKlGTiueJoIlkRNrfxMi1RwX0JpWdxoxMw7M/yi71niMTNaCvPP1qDKKnhu9/CpZHEfkHshP4YO51eHy0Sjmt93aDuEZKFsCCJEYhmrUwJImcHeTG4f/4jF931S6sTrn5kL44Fl50jccgOfQnT08EgriKY4d1ZLtKZ73Cs1472CWRC0Bmx2w X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23839056-c2e6-4103-8904-08db6c0446f5 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:49:43.1162 (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: 8VOECFi8IjLuabUDPtRF+cePHC904ZLI63rdxVOXjZNtEAAh+yuGvxEpVzl3vtM7mah+bSSj3E4Kx4IaoYZuqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5315 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?1768588917763950575?= X-GMAIL-MSGID: =?utf-8?q?1768588917763950575?= |
Series |
[v3,01/12] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
|
Commit Message
李扬韬
June 13, 2023, 11:48 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/k3_bandgap.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/thermal/k3_bandgap.c b/drivers/thermal/k3_bandgap.c index 791210458606..1c3e590157ec 100644 --- a/drivers/thermal/k3_bandgap.c +++ b/drivers/thermal/k3_bandgap.c @@ -222,8 +222,7 @@ static int k3_bandgap_probe(struct platform_device *pdev) goto err_alloc; } - if (devm_thermal_add_hwmon_sysfs(dev, data[id].tzd)) - dev_warn(dev, "Failed to add hwmon sysfs attributes\n"); + devm_thermal_add_hwmon_sysfs(dev, data[id].tzd); } platform_set_drvdata(pdev, bgp);