Message ID | 20230613112444.48042-5-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 2F1EBC77B7A for <linux-amlogic@archiver.kernel.org>; Tue, 13 Jun 2023 11:26:25 +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=OXKGhK8wKZZsW9ektCNEKJiGrTUm9yUQDgaYBTcxsUg=; b=orooC9Bb/HVflr Ds60Mcoo8shOFCZkVk3FX8V8cPAymHZMN61Ii0g1bTz3SionX9bsiN8hLp6GS3gX8yRKjRcaPgX8U s9gfDxzvdvyDUl8zrl/b5aQgzioHHsrZAPsESZAxsWShI544ZDzMgdfoJVKl/SY3A4iZhUgRIwy+C dRXcV0ZOZuCc2VpJtB665Y3e7TElg/zoXzdCRlisUf5JDAuFsAczgYylOQOcsbHT001GRiM7sEZk4 qao9axLA6SJeGOL6vBbrsTjZyirrSFLGyYAz1dxBrd5rQBKjd2pYaN7F3J1Rhsa0pdNvLQUAsrvNe QwKvpktXQkT83dn555QQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q92A0-007tx1-32; Tue, 13 Jun 2023 11:26:04 +0000 Received: from mail-tyzapc01on20703.outbound.protection.outlook.com ([2a01:111:f403:704b::703] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q929t-007tql-0C; Tue, 13 Jun 2023 11:25:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mk2WU2BhjZ24GN8a7SfUiIFa7qcibKVW0h0D0kuN0XjTHs29rHM14jILZZQRX2EUJLGVgmSzsz7JIOFk05cOl07RV1iUBeDc4/R+x3diipLy9XBVTJ7moBX3eSgkLeKUeMsCeINSN96MbGBqjAaeS8oEUgAiFasIg4uWdF7kyT/F2G6YvqpXLwxFJ5Z7ObeC5ts1g7OYxii+SfR4/2NJf5RESGDy2WHbjAuuI/GbGxc3eY3Rag7R/rD0So5JdH8tJ+m7sgalz7qL+c1YFD8eWIJRctRc/HamVsclNAJ2qX82UXEsMLwa+ne8CmQvHAXPb5I//NW+PoWdqOBSmK03xw== 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=JkpT46PjkI7kx2Rt11uTava8HMaudMnV0mWQTm65nRGlsbQEgs2zaJXHxD4E2zXIVSiY8PwkvqYU/KajznkTnP+jXLk5+sNq0goQawTRTGQdkpb5owgHLnCbHhNWsAJ3gmcwQCki/2ERVzUKn8SjUNVEKSEsLeT5BDQm16uaYz0uod656KM9jsp4NzhjHXyhCnY/QFjhoWDukaYwdTCdLqBgNNG6F0zHmckQXjI9VEJAs3eiCZJW7LrUU3yHAPur+giJis4hYouxhKi137TTZSSIoseCXz74e9x8/PsEyCSdZ5OnlVxgohVIztKcGiEu/8SO1ETo0kjMJrgD2H5zog== 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=DOT6y3jQ8IW+8MwtxiVaI9UsSnOmKZTlG0vNGJg2He9fqYwZ5eGaHTsDz2a9TYJ+u64jHJky2jSLU9d529fVpkY86WN+fgxwu8jQphs6oQDUJa3sZU5PBu8T0zFDJJHqJUm4uEWkyZrL5aWsbhMTgrJN0JQK43nvHtqUQaau4i9nsHfscwXhfcAxlWjYXYWUYTTCcJ88Ej12K2I6FEjVCQTZUlzNz5P/nZ6jnHRFDISumqGmKTw/ydHq9TAESU4W3G5pCjo3T/xyp/C3JQtXoMfSWZjww2GyOUDY/QCxvi7Vy8PbaDdmnKLgPOXtrOsej4xS2eByqvK40Hz1apeQbg== 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 SEZPR06MB5920.apcprd06.prod.outlook.com (2603:1096:101:f0::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Tue, 13 Jun 2023 11:25:56 +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:25:55 +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, 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: [PATCH v2 05/11] drivers/thermal/k3: remove redundant msg in k3_bandgap_probe() Date: Tue, 13 Jun 2023 19:24:38 +0800 Message-Id: <20230613112444.48042-5-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230613112444.48042-1-frank.li@vivo.com> References: <20230613112444.48042-1-frank.li@vivo.com> X-ClientProxiedBy: SG2PR04CA0159.apcprd04.prod.outlook.com (2603:1096:4::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_|SEZPR06MB5920:EE_ X-MS-Office365-Filtering-Correlation-Id: b31ea6a9-48b7-4609-4e6f-08db6c00f435 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6xBjUVaPSHeYSi/1QpuP7Vw6QQq7D/Xz8wfc30tT5dlQJjaUV0kCEnRYNd91rSNV+mcmgkK5GqAGFXWISTyJEYunm91FvU+10kKuXNlEFOJXhUuk1S5iyizAmzvSqzr9E9lof6MJTegE0qVtSG9gzxj1WCyGgni+6GgOiLfNULlrCi4vio+waO39/BjXZzVFbV+TLuVbcS6LFSvarrNWyg2RKzUrx8p6vUxCKMmUPNPLktivRxRgI8m6cM0qMOBN68y2vxg/cCZKwPqZ0x6taanLOX0HSDxQG9K+hspzvf27M3jOhVR3YkBnHc0bYfnAXsgn8jBlKjmfC8TMeaiGU504qWd2+DZu6QubvzFcSVwkxgbe3PGUPhhX7aoppIucLqKFpGcVzFkx2AhxMR094ENotBz/86xhBz76zuToKSqb0zqUn+hrFPOMKpnykcEaHiIXAz1vnjx8zP6KkuN2sKm3q/9hyTOWz7GUz/8Sbmko6uhoztiqQdsGyJYTDAOtiL/zDLbA4E2LpxZ+mgE9pE4jXdUOq1clpF5dA/kbfD6A6+RR3SErK0I9TCUb0nvaFbsfve4B46zzidU2K2T+fuaBUqj6hqazdwr8Wbq7IdeXKh3+FDJ88UG/h52TZdL6rL9RuvkDhMggBcHLPPhEUA== 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)(366004)(396003)(136003)(39860400002)(346002)(451199021)(66476007)(38100700002)(66556008)(66946007)(921005)(2616005)(6512007)(26005)(6486002)(6506007)(478600001)(52116002)(6666004)(36756003)(107886003)(86362001)(316002)(1076003)(4326008)(38350700002)(186003)(5660300002)(8936002)(2906002)(7416002)(7406005)(4744005)(83380400001)(8676002)(41300700001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jyGnOweJGUqlrnahImkGutTBR7Z50pTkeSypBnQGm/+av1ADyaUwpH7z/8iMcQnAJrngzYUAjXS74/SwH8jd0fK9UfrcQyClmxN+xK34wEbjqx1Bng9famyiz3aEF6wEfb16CS0LYYWUANgKJ1++FbyIQLqF96G8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UIF8LAmUq+W2/JJW/7xGVC6e+ANMmgi9lZW0KkVPQ01bP7hY/JTKwfGcaLKk3DWVSIuoj9VwmChwh+azf3/c3XS1eE1c/91z2+R+uaNNPVNqNJ6WsaBLabG1xn4KFq4Zfsv008qWEhx9YIPvawjeroAIFYZ2ayFSxZ0mZm/ihfSLvPJ/wvWDfkjpvPfjj78zRfbjkuexDYGl5cnj/GMlY85TC/eI+7a95bJFfO1L0QSkkLLbrB8iRUUmRxVYT7Tai6e7svvPziDq/Svvp2JjM9mvHoLBcJxgq7oT9D2N/CI+JlGoama0ji4Nkzf8j4v77/KdvfTq2t0FJ5XLMt/Itlag0vID1CiBNRm89CCGcAQEXxVW/oR1j X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: b31ea6a9-48b7-4609-4e6f-08db6c00f435 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:25:55.8525 (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: 7hPELDnbItbXpzTFLoykmcvRRfL03eL1s6hqwUb7tdZ5TMw7+/8IdIkXoGvrH2TwxJE2PigaabSwv5zYzVEPaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB5920 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230613_042557_161076_D12A290B X-CRM114-Status: UNSURE ( 8.69 ) 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 |
[v2,01/11] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
expand
|
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);
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(-)