Message ID | 20230620090732.50025-8-frank.li@vivo.com (mailing list archive) |
---|---|
State | New, archived |
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 7D4A1EB64D7 for <linux-amlogic@archiver.kernel.org>; Tue, 20 Jun 2023 09:12:22 +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=bWKPXwlrYGPzwivuTuvpISI/T5XPu5LFhqMQKeIvRmI=; b=sWI0QLSn/sbRv6 kIJlkEZBzg7eDCfElEKtShoy0ib5dBzd7cZnaY2StUj573bk4A3RNPqrBpfH1yItxIt3l+ji6GBbW icsmy8dVWX8tN/ZcRDIM76OTPOzjWd98hmbhYIsjcAtinaVtlBAODSLVaubdoUtmM9d52RNdBQ/ZP /vj85UyGTHAhXQlhC+69n+xQ5xQyzhlajc9tGIBiBywcMNoqt1ZbM9dHCU2kfEoa39SBZvFZlOqph 0lJveVbe8+5ESQfCuQSFhRrkAhe2pAQ+v0eg7yE4S584TSrkXQzAL6toEkE3hAF6U4WUZfazvKKxL Ev6HfgwgLvyE5HwHjwnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBXP8-00AgTX-2R; Tue, 20 Jun 2023 09:12:02 +0000 Received: from mail-sgaapc01on2071c.outbound.protection.outlook.com ([2a01:111:f400:feab::71c] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBXOv-00AgGI-1l; Tue, 20 Jun 2023 09:11:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WEhoOE3eRGFuo7XjK4/TJvPvWrJhGZJdowwpCdJ4jTQVyUTlPEqUB/O5RekzrKniTAqEgXxBIVSFPDtpywUBeDE+pxoX9WVDeOK/T9omZZzImsLdvoZ/9PHibT7IZRqUWbQk58xD0TGCyTfElvztwL7Tne+B0YuwslwediQyBFFKsHVH+xm/b3YEgQd4DZYRk9KCFEZEFGG4AdsYd6LoGk8xJRlGSkzSGaFPvkaZXxggMXWBJMeU46anEQ7Bh0qNLlUb/CmveCBVdRDME6IS+NcyQPNep633vzBr5N+5+vIUfMzQbCNTIpYNPqumazMeqE/JP6672MhwC0xsMQTIBQ== 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=w8P2XwfIBCwYW5oDJeTe7o+u3tMLpF9fm2q5Jlq/Juc=; b=DmCBLFLfJb0nSX0sWeRh2pQhmufdy2LneXnbGqGJ1bVA3OiTgCH7uWS6wsC1A+tiZPcmQLtOhrnCj786Qxjp8fo7IdR1eWYRweuB30TUFsDr7toUM4FKBKesZLfGD137oN764+ClLzRoh7wPs7FvbmLQU4bmozRtNvehW00IP7EN6rT0d9fjT/HpxOJJ1i2mCjLwT6n5tLRDgz/Yfrdl6Xl0Enx64PT7GwkzRE6J3GSpEAfXqKybynUB48HoGGTjrDRsUy+WXQwaaWXO+srQHKgWLtbQnaTLq3KTPNgqKJfMUJRnmETYY3M0VRAgCV3fQu5uoR4KJfM72WMuEIFU5A== 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=w8P2XwfIBCwYW5oDJeTe7o+u3tMLpF9fm2q5Jlq/Juc=; b=dspIXavCscir5rKpulLuRvlHr4QrtV7vk4rOMsa1sJx3JKcP/mzNKgH7XpIssvdN2iKyer4IQkW/JN5aDKPIx42q9XjmqZDuG2ugatzdmVm+Xjfe8Sv0vujXsqmrL6XPCbiFHomPjlbm8cz/4dXrew4reSZ9LiLk0BSumZ6JQ57xyLJv8WIb4SLAhlcrm9jcaXV/wxUWa9YzZy7htUbs9Twdz90n9xWOMLOCp3D3igU8Z8UbFUyHbg5XJKR001WCO1Yl9eQ84+w8C5MPaYcJt3+Xe4k0vF7y99jrh1l3ia8k6m6niUGy+ofvzLIGNYcSjBQxxq1nK9O4R7g7CboEZg== 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:39 +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:38 +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 08/11] thermal/drivers/ti-soc: remove redundant msg in ti_thermal_expose_sensor() Date: Tue, 20 Jun 2023 17:07:29 +0800 Message-Id: <20230620090732.50025-8-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> 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: d81ca5a0-13ef-443b-7c04-08db716e5acd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vX0gNGrUe2chJkUGLvPFkimX3UCjdf5CGCDf1nEE16xASYwf1WZPQFm5LbLu8Bton+SlQTnsRZ4qbwZy8BGWi+OpK3c1QN0o+2GvvxL586yE27gB7VNacZ4B4h6lb2Na285LW4RJMtpeKXyrP2o4XvQ8Qw9ablw5haajvnYRfqfqvCWp+ANS/lnS5sS76UV2c4Wdzv3volcZlSFx8Q3UZ+d4+InpSz3feZezoQRawAYQOdRkiRphDiCjR2x7Xh+jLFQQoww/MMA1TbCs0Y8FtNzR/XqJsjEMXiEs1xJD/MTYnFX5/qgvb3HknvXSVZ9vEsQgWWWDy+1WfCQ+/Vkw4BG63nrZzf5Lbct7+BzLijAFr7c4FFyNlQAdrhmAeL92Pg+Vqo+BppBtqSvuGiJhbiJhAWHYQB8Im9kGhikjtuBM8uc0/uDRWRYjyhHlnWkzMpqF6FNysrTd6Dl5la1kpCVcnO7+Rs+qjUf5KeBNyAq4EBBAPAc7YfdNpQsESGaUjg03jvTyppDo9CG+faw5UTo7X+EI7p6q+YjC4TijQuOBVfCp6HnGDtwNSV1UYtBh9ARowp2cWB4LeM2Q8zd+1t18k+tFifkxCiE8h47MU7Kc2IGRZs9SGgm8XpDA9eH7KqmuGBuzl3+FlyLUfLIe8w== 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-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: f27YyfIiUZNjU9horpizTkkgLWS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xPBwlLUgDT7Rb7Bamvof9KtvfaqBxiIV6dsJv5PSa8D8MlkCJirqJlPXHYz1c6e/gMBpQwTLYXF2hgOJUw4NajcbGfthockpy6MASUkF1C/L9FPaU3Bw5mElbXJisd+F4hkupZePkLLMRcUmjNR/EbHze49s0vj3Ae7T1EYRyDDUiw40nyGVXrCUAMbYZvMX75YHU4px4C2t66TdAesmz2j14BnybrKWb46QZV0oGN+rZ2e1X/8nmPnR4nRY0RdrKetHYIJUm2TDRoPKtFQ0tj1wh8yRuDachZS64ocDT+4hwx2TICm8RprAkvZXqXDYWM1BlV+9R5gQh6xTv2JxVV3XneJNZaAOT/mNdLMWUS3JXibYJliicxlRKyMhRGfmNQwvHsOvfqTy1ns4/AHOFqXYpNil3GIM3iwCsQ9copq0PBeLnnpPIwmO/3bqcfE5UwiH5j5TgZebL0vNkglK42GG3sUx8vWAddJjF0yJvHfymoV0sCFXOo X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: d81ca5a0-13ef-443b-7c04-08db716e5acd 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:38.8804 (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: NQJQZjVCOupjL1DrkENHpeNQiNCtKc8KcIrGQxewQNWxQ1NAvlds7TwFgQ17M9JZGVAi0OmvOGb2aZIq3tV3tQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB4510 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_021149_639012_8E7900D9 X-CRM114-Status: UNSURE ( 7.62 ) 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 |
[v4,01/11] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
expand
|
diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c index 6a5335931f4d..d414a4b7a94a 100644 --- a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c +++ b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c @@ -182,8 +182,7 @@ int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, ti_bandgap_write_update_interval(bgp, data->sensor_id, TI_BANDGAP_UPDATE_INTERVAL_MS); - if (devm_thermal_add_hwmon_sysfs(bgp->dev, data->ti_thermal)) - dev_warn(bgp->dev, "failed to add hwmon sysfs attributes\n"); + devm_thermal_add_hwmon_sysfs(bgp->dev, data->ti_thermal); return 0; }