Message ID | 20230613095624.78789-6-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 D2BF3C7EE29 for <linux-amlogic@archiver.kernel.org>; Tue, 13 Jun 2023 09:57:49 +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=qbhGO3Drlp9hOoAJ4fXSLJjQ2rnS2gwzqTGtIhrGOJg=; b=IZE8d8DnVTqbaZ HYPTH0B3i9xroXENBxweI8EUg23UtZSRF4STuOpX6wncaLaeQfqOffVB/OotRIgGExzvEuzRSUgKC fSs4/CBMdsFcwqBqCAVJ09V5o4TEMyvNbar72EroXabItDerlPxsMhiKrS13hYeeGzvLHKN7duf6F tky+1dIpW6V0LfTTGEat1TfJ2S2jdc17KoWzlv+XOPXaIzagiq+NNf84IlT7sjHcg2CRsPUamnGOQ ZaHddMQTkqe55SLZERBHvw9FEvQX6RfZd+9Q3nfc87IY9nex8TgZbcAkiLhJ2VxP6wzMw+omzvZDI btzrVI5j8uWcVqTOGffw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q90mI-007Zm9-0D; Tue, 13 Jun 2023 09:57:30 +0000 Received: from mail-psaapc01on20730.outbound.protection.outlook.com ([2a01:111:f400:feae::730] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q90mA-007ZgW-0m; Tue, 13 Jun 2023 09:57:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RVkNEQF3IBA8izwr6tIsHJjS3TuEVgi0S2O72wInZ8B3PAV2ieq2aS7pPzuWKvBTW75DvJ4sRaJePpSb9k3Ktm/ik6+iI/vL9wFYHV1DtsDfpIPC9C4hPSeGcFkbvEtbpaBfeUPRtuSuOB+ygYf9Z71o5RBPxs7Iw/DZSzXFnpHliBqCKMuYU4gkYZQbYvypDJj/tR1pzlU4uFl1ALNFN0tPH+0az1bUwf2F4av7XLdO6a2UVxtVSBiF/bIT+/yvNCwbj0egx5Bd9k3aTlao7fzKEs2DIhalhKaiS+Ey8F5LitapZVzycauBOcSnlkEPoysnTQn9VMWCm3Uana1dNw== 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=++scUHKfsZEh9T42bK/jWLT1eewDohfz3H5KcioCgI0=; b=fYixvFU6C5kuuWfhTJYZKSa8XxwwF5pAut0yHBwmMucIa55Z3BCyot8vKjC/xj25/bwtnkvsD5ATbYKbJ3Fev8T8Gbd8ZqGW37s3GrTalApIMt2aVauDcT0aNrarCxbyQjkYPn8EbzVKU258anK2yGDNmhSbKQ7xyDkhLb1LPb9Y289hapeLnZwiQ5r5D71Hgn2TdDzVqY7GNl0bKpwOuJHfKev7WQqgGB5j1hiANMcWPlmg5tEAcEhwwAgbkgu24pVfFFj69SDjyoJie0NuZV23wJVPeRHPRTy8lCr5sO7QNtgKpG+DVxt0f/b7LP+Hyjh+IvbLwcqYtEOshmqSQA== 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=++scUHKfsZEh9T42bK/jWLT1eewDohfz3H5KcioCgI0=; b=cj2mSmijIvQooRQb18taHzrZHbXf1idn9nJXhQvbz1f71pA6DKZiGBUNsrNmZN4C4ZIrV6f7UVq8fzNUCa5/qSE3y8DOCZNgSfuDmVLiJGAPvIY52O/fUQWK+Lu/UjBgBYmGeW//xqjuWGFdqyemcGGma+oJAASQoNBoeRjEkrNnwxoJ6EwcTy3z2NBgDs+cf0yv5fIjAxyjNIm+f0oK3WaOSXjeXHw5ILeFLcZjDZrXEwn/81exjTt+4b1oTVNPI7KNcy25uNoUt9sSaS7Kjzot680TtlFRrk1FiPHRI6My4em8xRuMzNkmhNnf7jbyipHssgBxdD8YaOB670RToQ== 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 TYZPR06MB5784.apcprd06.prod.outlook.com (2603:1096:400:268::9) 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 09:57:14 +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:13 +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 6/9] thermal/drivers/tegra: remove redundant msg in tegra_tsensor_register_channel() Date: Tue, 13 Jun 2023 17:56:21 +0800 Message-Id: <20230613095624.78789-6-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> 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_|TYZPR06MB5784:EE_ X-MS-Office365-Filtering-Correlation-Id: 75fbeba0-416c-45cd-8336-08db6bf48fe9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sdDlaFPf0gEDzqj7jKce8eoV4eFQF9RTwM/wHYxaDSWfDVCpTJDnQ19tr6sxC377GA0yUBG0tsC60kC71BhniUrHnPkrZa8Fs3Y3HNVxZ22og7JPaima/mNpKNOeAwZnUKNf7SY8vD+jB/Edbpfx7jTvGp7LuJ6XHx5hIcWHs+svmmyzYbXKX+HB0xxXSWYPfs7OXow7f8bv19MVGkRBPhHnK+HdN7xUr7bLzSXRRK2Q+i5YZO46AELA5TZWcEEIJcYLodaMLvpTttA3hg63FglW4UHR1GpiEovw2SqHjwjJXT3cXwQOr9HF9wom6QD4HJD/9LJ5/dhjUwrSoKhw+V6+j6907rPqapQfGm3d7AzdzN4uz+eU4McLeNfwkH1OJCfBA38hy/ipPFpqtbWjYa+JcSGrzVNqUNCE/o+JrMOwY0rYKsTw4Bem+5ZSEjyUdT/KBXPrrFHtttSRYqq2yNpKSxXEV+E4bgVl9G91GwDzXzFZUuh6nzOJiFCvMiJ2IbWWgG+wXkvbqAXIpUU5jHatfy8F6oPY5Os33LpowR29NzNrhUsx4E1CLWv6hYwF9t7CmJXlsIHTofAMV7Cd/hMlaTrATCF31ekstHJF/qGeq4lteaKBZdDHH++ccfS6YtfTLudHCBzuSSH0mw7tjg== 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)(39850400004)(136003)(376002)(396003)(346002)(366004)(451199021)(6666004)(478600001)(52116002)(6486002)(6506007)(107886003)(6512007)(26005)(1076003)(36756003)(83380400001)(186003)(38100700002)(38350700002)(86362001)(2616005)(921005)(4326008)(66946007)(66476007)(66556008)(316002)(8936002)(8676002)(7416002)(7406005)(5660300002)(4744005)(41300700001)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IS9rsKk75EM29robJP6eFyoSAmIQjgYdarxobHPsySm2U+t6bvObPQ9Ti/PUXq1DGVXZ2FRiJzF/gQNMPnajIk5PE7fUNP/6X+bbrMQf35vOinE2Td6cEVlasqcn/YtB/zYXTapSHtX1eXLIggCpyEn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R3hwHYd6Kt2LNspg/L6sI2sP/p/s+4tN1BSmcu1VMVqnf5LuZ0EePCPHLHerT67aLUFSeKEzmgH7X9J82r567TlrxtJJBvC1Wp1vwVbiTl9h/4T0gMURzhSxg081jsRfgcN2Qw37NQwIsm0OgwbjzGpFubHfg5DmTQMVloXXioZHrIm3Ov6FkdsXX4K91Kq6M0+idRsMDgiCcOGwm0ZobPkbckhpdvitGrvhjqDQr4AgQtQS+qDpTTPudpxrFVwcauIK0a6hVW7j3A8IksGfqnAXx8zQ2d3gtnfaYq9VHDn6R/RHIJva0kSWEeDzM8e6m1qhUbkqFuaaju/k+deUVtp2Uhqwz4D/av/2ZXSYXL X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75fbeba0-416c-45cd-8336-08db6bf48fe9 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:13.5933 (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: HTN9tOth6tEWoUe30hvVaVRWA69bIOTGhQxCYMs70xkupKmQEEBWZaucFk8KmT22wtAvpODqC/O2CujEYhKkdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB5784 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230613_025722_289078_5A57CA5C X-CRM114-Status: UNSURE ( 8.18 ) 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 |
[RESEND,1/9] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
expand
|
diff --git a/drivers/thermal/tegra/tegra30-tsensor.c b/drivers/thermal/tegra/tegra30-tsensor.c index cb584a5735ed..c243e9d76d3c 100644 --- a/drivers/thermal/tegra/tegra30-tsensor.c +++ b/drivers/thermal/tegra/tegra30-tsensor.c @@ -523,8 +523,7 @@ static int tegra_tsensor_register_channel(struct tegra_tsensor *ts, return 0; } - if (devm_thermal_add_hwmon_sysfs(ts->dev, tsc->tzd)) - dev_warn(ts->dev, "failed to add hwmon sysfs attributes\n"); + devm_thermal_add_hwmon_sysfs(ts->dev, tsc->tzd); return 0; }
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/tegra/tegra30-tsensor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)