Message ID | 20230613095624.78789-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 k13csp429734vqr; Tue, 13 Jun 2023 03:10:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4z/45ZE4SAbl3KjTloeQp+5LmLCA30zRFfxM9RtX9WlFSPuN3vGv/B+93o3Wa3+4fAVYtf X-Received: by 2002:a05:6830:13c2:b0:6a5:f839:17f4 with SMTP id e2-20020a05683013c200b006a5f83917f4mr8769052otq.0.1686651002207; Tue, 13 Jun 2023 03:10:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686651002; cv=pass; d=google.com; s=arc-20160816; b=z3bDFiYeAK0hxS0ZOTXzpR80ceHVqZouVgn8G3YHFZ9lXxwnlc8ormj1AaU6BGL6yY aqiVlmMWIETr+PIwLKeIF5p8NuWWAhnD1i7Qmz0jnmCXmd3Mi7e0FpNAq2wqeNKKPIaW Clbfhw2RbC4bh8sVlDPDlz2pXQ9CnN3rop4YYgfLeXpAao4jsPVBMtlMxjrV4hCwmknP M/gOLn1bQqE9X1y7fSq4cUpeC8A1vcDO075KDXFmKahHRJpF+9UM80NO3XMZ4o33+iIb Ns/EHPFt5HFHFxNzuIsbBmpiMuM8k3H9A9n+vQMSbIuRag7OrDKn8PXFMr6QpHDeeWa4 P8Yw== 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=wYB6VJz3nbR8oYnRl2taM2ns3lkR6UREukc6kLaco4xEg/oFikRh6f/x+65a0g2r7Y UGta0RrWBBlA2/N6kMX4mp4hPKk1qm/Is0HS0mue+vNmGszwx4KdTEoDlg68iCTfts3y gnXOKtNbUmBul64XSF7e/1N96wJkB9gBgGlVaP9rygx8/rVC01fjxUxNypxmN//5WZEG kIRJ1yA0qA3nbZPkiK0sROGJDK34jkxYs6RwTsq7MAoVTDTNqqAbpCskPPXpiCY0n/FT rg2cCWMwsvqLML6xaGoZUN1T+luie7wl1NDauJHhiV+7i5KVBSoJM9KIcg3BzRvHQ78u zU3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=enjQ6KTh; 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 i191-20020a639dc8000000b00543e36736d3si8738219pgd.628.2023.06.13.03.09.48; Tue, 13 Jun 2023 03:10: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=enjQ6KTh; 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 S232759AbjFMJ7V (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Tue, 13 Jun 2023 05:59:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242031AbjFMJ6a (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 13 Jun 2023 05:58:30 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2106.outbound.protection.outlook.com [40.107.255.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CA471BE7; Tue, 13 Jun 2023 02:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EF5inGOzeggYc/yeLkpbpE5ioXhoDeK+jraVyU/v2Q/B32alU+c6diqQ46W+shNMcyd2rbe/tUFWCcBrcLZz0wDNQiducNbJOO4JEND02CjPlJzbyktt4EzfWfsgnoM90dGp089JCesQx78YGv/qjZFkOe2gnz/M0eChbUJ/+9zWjKTVXLre1a2QhtHMkIlaLX2XUHfsfL+Ps5uLf60SHJCgLPp/CnV4wcAuQaTrYHdVC2h6MmNTO7SbB6+AF2pTSO97kxi475P9wL9jQ/ZR0vlcfhYuDQox3shHH763c3qMAy1GcJCCJpsKyPPtzbEq32o5gHkV6EYXbCREaH0gYw== 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=KVowd4hFZRTmAXFhj5rjQ+HRmST9qGivWh6gRoBZhzmXVaOdXSq6MoU1u/9j2QcPn6dc7Q9CmVqp1SBAw6ptuo7hhTJpjT/9mMFwzsz6SW/7pxJ4J1L4t1a0LKCubnXMbzKeZ8duY3UaCnruPKw2ogsFkNiAc+MlybNtSqaFCnZwK60RmtfVMLfUKgCRN6YTGnVHdL5Q/RcWQgJUVo45jwzJtpALqef9ViquVcg26jE25bcUQdyRmEctLsnubZDFJhZAQVqrBgxBsX/DIsaQwGD1sIPuNohbRTgdaOrvXiCMCp/xe9lOSuRqurmnHmF/e/ZU2hSwyjbGfLX9Ft/tqg== 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=enjQ6KTh5oqNB4pKilC6NSlY8XuoDWwThiiVOVwtBPwCoIa9sAmH1BBOTQJs9qi2Q7tLlnNBUkfsyqngOkAZp+bS19TsQCpaUFGM3IFgvJkUe2rqR3WVYKtSUbwvhCvvTH0sZ74oCJYOHIpLcoZ8n8pAXflC0lSTtMEw6NjkgW2YGsz9ZpGCbP0XKrjJsNSmPS9aC4hhv7aewajThKXyqezkh/v0SGGtW7DHABgA5ogjcG05XsPgV8t3zSerQ7bv4om8V2fbql/xKTw4/4Xftw67U32H6MyGXCesHpJmco5nMLhw7tKLLir6ShzNJWFRCmzwjB/ls6QIbRub8wp7QQ== 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 SI2PR06MB4012.apcprd06.prod.outlook.com (2603:1096:4:f9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.46; Tue, 13 Jun 2023 09:57:07 +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 09:57:07 +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, f.fainelli@gmail.com 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, Yangtao Li <frank.li@vivo.com> Subject: [RESEND 5/9] drivers/thermal/k3: remove redundant msg in k3_bandgap_probe() Date: Tue, 13 Jun 2023 17:56:20 +0800 Message-Id: <20230613095624.78789-5-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230613095624.78789-1-frank.li@vivo.com> References: <20230613095624.78789-1-frank.li@vivo.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0033.apcprd02.prod.outlook.com (2603:1096:3:18::21) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SI2PR06MB4012:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f99ec5c-f51f-4db9-ecd9-08db6bf48c5a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HQ3QzG5rhAJ0ZHJ78PoHbF6nj9ht/8JXy7or3jAb33Uhrpp/NY6Vh22slPr2Amw0NlhkXTlnL3CuvlpAl3muI/+X9wFdGuHlU/gAdL7417rlq9jmTqdScnfIsy2SEL/kSzte/B1NcW6timisWN6P24iKPL93buuUu/AKX1QwmuA83Hk1jocuxpqhZu+RQCCFbYrjM/mEn5kLQDLI6pvYLUXn3aEubLL/MwxuPF5BamOJL1wrmm1DRfwtxaM7KyAWr15RZty7Kf4I6eIbN9QYKpB3X94tTddcyMuAp/D/UZj/47qg1/er0kfThP5aiCB020vDjuSvoxTm+PtOSMNs4jBqyIbhTff0XBjhuDg+ZmMdKvA827NnpoDIOc1MM1lmHYgUF+75HXjjwA0u/Y+UFc4ZGXRfEFBPPCFwK6gcweqsGNBeoroas0JUUhDqfxp1MGS5Cr6MIBTaI4wamzPDTqW1WRcZJVJg+fyoBF+0SjXvbNR0Ez9kUA4oWz8n6y3NFycv2cyi4sFgsZ0D8QPN/kToJheQqqlwlRfcB66FI21p+V1Qh5wOMaZroZnsFtR8glWb9NYNRTQ9X1AEQBfX01fAhlu8+ZWGw4GvcJaIyGUlqvLKSyvA6b3qF83PK34/kxP+6qZM9M21P89+NRhzaw== 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)(396003)(366004)(136003)(39860400002)(376002)(346002)(451199021)(4326008)(8936002)(66556008)(316002)(7406005)(7416002)(66476007)(41300700001)(186003)(2906002)(66946007)(4744005)(478600001)(8676002)(5660300002)(6666004)(52116002)(6486002)(107886003)(1076003)(921005)(6506007)(6512007)(26005)(36756003)(83380400001)(86362001)(38100700002)(2616005)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: foPhasOcUN0yPQqI1CiAOuxfbyb7HDttxQMlUNHaPrqGa9cYhTz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LdvTXPiO0gwfCskPJXvloy8E1S6anU1cx0P9IMuayKRt8jcMAqIwbOmcDtSjVaQ3mu5SjgGIYbW+FDeHMcy0rOCvlAxxa2MKHr4w72OZsxjSbPdqSqsQKvub1E3dYwYqcboEupX8xJ2axlmL5Dmr1mnKyAqmLqhQbu2LCxSd5g5ELFTVoNm+NBCe8O5EDqttqMl/yytisW0/tG9bkiwsrXdc80TRbKKeG78JxUtCckPwSUcALMMaIIN5hrBcn/oXuNh9M6N/HQKcP6xlwtCt5OwVHM/JHZSE6l/Bp6xV9860Ivdrk3C4c5AuYsbc9735WQGCROjOcsFH3N92bMVzuIr2GyHocPA/xv5RW2IHIUHZ/cZC8znMZIZaoHdpQ/FzciOXl/bRkARrY5CIBQDQNlEP2raNFTAX3Lg4qpIJXokoaP8VbRYCa8ixwPvvzlKT1IulrNCL0tPO X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f99ec5c-f51f-4db9-ecd9-08db6bf48c5a X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2023 09:57:07.6374 (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: r4mCyEthmO1fZs8G8MIWpaapAKi6ca4jfM8R+mzbJG2GZyLkq2VbwxIw6roFCZ2vaGIubFfwtgRqDmvG1WmsZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB4012 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?1768581761145484122?= X-GMAIL-MSGID: =?utf-8?q?1768581761145484122?= |
Series |
[RESEND,1/9] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
|
Commit Message
李扬韬
June 13, 2023, 9:56 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);