Message ID | 20230613114904.15749-7-frank.li@vivo.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-arm-msm-owner@vger.kernel.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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 279CEC7EE2E for <linux-arm-msm@archiver.kernel.org>; Tue, 13 Jun 2023 11:50:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240273AbjFMLuA (ORCPT <rfc822;linux-arm-msm@archiver.kernel.org>); Tue, 13 Jun 2023 07:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242202AbjFMLt6 (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Tue, 13 Jun 2023 07:49:58 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2128.outbound.protection.outlook.com [40.107.255.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE51DE4A; Tue, 13 Jun 2023 04:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GaXN/eiEOQ2zxJOEzVZeVJ1wYlbptcLVT7eHiPJ1uqHWh4sroT6X2dBw1WvydnTUQqTPLIByH5J7ibbmnZwkKq9b94Xrtah10xIwH7QCA2Iv0v7dBTq8OvdSgeHhRF30CbiM6l0KMGqo9epPtAE0pervhcG/PWTcRrESqV/CrIQRlXRTKXdib2zc+SrIlFYs7cFT+uVBmregTOkiP/WykYv/B/OuBjL/vSEtkGyV97PVAz5iv/+UQTPQcXCva/OrmjWpRU7BkI57VV3pM/u37ApwpQcG4we7aC5KDSmKNJ0isojkw2NNt+D5cErlW03XcAQ/A5IqAmpwlD88eawRUg== 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=BFRIpDy9mxKf73VaQXtUPoyL7qnzSdTF1HT8l2XaQcE=; b=iF6g4pgugdJEe4hg0eyRO+ijqbJmMMrWJujlKnBrURreyIR4WCU8YMMOBuIIwhke1lYnrmyouyqptp94F3Sq1KHRY+6ovWKA7KAOqDij459sn2Ba8AyPlWFwp1XBJVTu3WU7YfN5VAw7HjYrPYF29WSMnqq5d2pii3RpQZeshgXrwA2jickz1+1jM69t8lkKVuBk4Seho6lqu24bY1ltyFnyrvCR3pznTeAwt4RRS7TZsDEJGIgp87n7DsbscxZI/w2eVYuDi/UxmjiNf0NP+I7HnF9dz22zHvI7/98WH5w/rmC7EaS1JJ75O7beCNTfAPF4JmpAt4737QALGkmIvg== 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=BFRIpDy9mxKf73VaQXtUPoyL7qnzSdTF1HT8l2XaQcE=; b=FxXk9OXPWZt8cZ7Q6qPt7TQTH1Mezvrpl39jPXzrupBYEUKG4ezgndet/rwBV/gj5z21n297VCB0TRAFZs3nNJogi73Nj3hIt5Bbo4iUgpwI8JIEJSF/TujUFsX84dbwRK4I0MVbeJQuUZuHdU58CRcNqKTKUNoocLPOURrYjjt9dh/5jck7pEg51Mz5wT+USWle6N+V42gfcZW7d+gHGa8UMtnMvqgTgJu5mYpo/1OSYzszJM1p+e561PiN3xHCoMBtfj1n6qsTKUpAYj2HdTkVQYVXvg/sosW9nuOZplLDh6a6ltYsS0GGCpz4PWQ042we6fmREfb6aZt9Y24G7Q== 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:54 +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:54 +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 07/12] thermal/drivers/qoriq: remove redundant msg in qoriq_tmu_register_tmu_zone() Date: Tue, 13 Jun 2023 19:48:59 +0800 Message-Id: <20230613114904.15749-7-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: f71cb07a-188e-43ba-aefb-08db6c044d83 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aR2B7kE0n+hJxG8I6qKbJPX31tatxPcwDp1FPmYEQbAN/1Wz1o/dtcIOBFIsnI+IcRz2jhD7QLzXo25qkg8YYcy0ANLr7m5ixC+1czAYRVZSLX8BaelX3p6kNdB3ZQRHapGCmoUlPcWJrnbcjBvb8WEYKg2hO7rCnlsZu5o6dOSDbDWTGSYL4KVFS5Y9+ADIAMhoAwviJ5xIVMOppbpt5SV4AGKXaxXTY07n8PqLHQ9J6fgwWuzelX+DdJfOJy5f9rSUz71XS07gJdSd+IiXoBR35OmGT1J2OqoB24trJrABbRXypTgr5CMqmf4rCckMpVQHtX3bdPS08E1jwitnOpmIiSCNLKuleH24cniej7ce206PfoksnS3UFPCMoZf8iWUyrWuZqBdp1f8P+EA2SLjnWLAc05ef/u+4gnqhEPTKwh240UTEecvGHEnNbK7ayNLsAR0zPVthXJx3ynw41iEY0D32hixzOl/Pe4/pEVjZt291aaiH8StDwziKoAWAVS989Z18O87MB9eEKSoxXeHBFsSiXtOSkSaU1vqCNSbZn34FIyjwvbZTXhV5Y4dnFADrrE11Djn3/64GmYuXYJcHK79/LDbKJkTG4SwqmCApIn3utecVugrZ7DuX8Q33DFRSMGRwUszxZ36lMQdyOA== 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)(107886003)(52116002)(6486002)(1076003)(6506007)(6512007)(921005)(26005)(83380400001)(36756003)(86362001)(2616005)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5QOmC9NpsRMyfbQvAgaRVtOL0+ORUK/Tjq7sPD68NeEnMGSqG2cWTRMjFhrpG4NJtOgxNsRCUnhV0LXAru2/yYV1bEtZE7aoixuKYQZbnELIvaNrLGlzKS68lm99p41C2wvzLYLvZdOh5CofsLZO7PaDV8misXj0Pb5PT7inj0sZqG+Tm5j8Kc2cm314pbDSHtcsaduzO14LHmFPImuTyj0Ty+0Vwsn5cwEbbzKxP1VnkYFyHrkBmJ86FngUWLbk9v+K94ZfifUgCPtciV/+i4XwCqnopO/8HwuT8JrIOFruZk6CeqdtHcD0HiU9IkplQ2QNp8MfOJF6HnesUKGoLzlUjJURlfNDtkAFky+AM5s+J2a/RYKdFAKJUnfyYqSLD7c+3ZL0S4fdngYOubcwb0WLsDZ3Pg040uTy3+dGY5X04c8hb/V1VdY1fduWFTmxU5XBWAIapJ3oqio8OtYjEQwc4hj/polnE2MEQ846yypt3FdFK2oRYCQGzbK05R62wQMXOE2jsqu2g4t0lhtuBuWS5m7ekFkD3/N5SY+dwViQD8jsIQGcfH8nSdRhB6hcMAxaEPDq7H1Kbs+w/hC8f2r4vB34GKt/Wvcopfp4ODqEXU58pzm9LXu0s74uWxzQebh574WliIEJRhvfbljzIN2H/gaQevdzhPJrIhCd9fy9i4ysPwz68CEGYAcmipAdaMYl9gc8ZI2fKa4yC9a4RRcothV0vI76Df4LEOb/jR2c2vvQNqlgEalWeabQTzheA7J32RRRrgTfGNHcTtW7oL364PjNfUYZVmMmHF2vmf1Ut5fYIVeR0R2qJvaewKNbz/ydATy/94C+vzYFaIJqFobTNwJ4EZ5YKD3jP5vcHWPXfXqMlzH1kYLmpj6NhscePlJVQcQBicywB9MYP5UEp9lt/LSzJiGmuQcCkcG5VeDUvTPrsEXWvtqv/UeErrcsUsJFmbKhw2tPlqE0Um4CvWm2zXvgrNsLuRl9EgoGuluJhosGu1I2RHk2Pgxt4sqD60Y3uBzKxGUcq2B4QsTIDrEn4x0n3xHqx/jwuCudg2ZCUg3pykgusQgYyIMOvIaBCkFSMF1WeifUBD4XS2N68TsiHpY4oYdhjUYA0YyW42mKD+NarwtI1H69UW+ng1ypgNTqroQYcbe30+BiGws94/dY6RaP/7+kJE40fcgeN3T9f3RtSmmAhB4M5ar9ZuxELCbx3QXv5wTkXo4xX6HgjEEN38/uMm3mIsMV83i5rmYcuQdNR3uo2aW6Q0NffvHZgs2RTWoyobb228/LCdTPyTY0YsCIH4D00YtY6xePMicuz31hpJK2hZbVz4H3yYmtJ17Ceyal9+EkOdTuF55OPxVGtOkCvHaiBfw4w+td8RYSOR2Xy8lazISfDE9WwrxTIuFIK2Nw3nuT4L+F4Ixq1D/mmD4kcbmkEJ14H1vBhrbMIMgYdDDDLt+ca766kzctJ9+ZbUIbUZidl7ourPWxVrSKVVyQTciHr64jn57LXizxWA8+5Xkjwahazcq9ayDgwWSMJxyIFO307XgGsi3F6BGW4DPYgl/qBMwXD7zkSYsUS3A8w0hwRUlkNOIgmnTx X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: f71cb07a-188e-43ba-aefb-08db6c044d83 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:54.0912 (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: 0F9m1ju7izYQNmeN+kOx9hfYHh/+4GGgn8MXdFzNa7Fu4iBIXQ+b2XgFkfhTmKh6E6ad2L47bXAvadMJjSIlyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5315 Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
[v3,01/12] thermal/hwmon: Add error information printing for devm_thermal_add_hwmon_sysfs()
|
expand
|
diff --git a/drivers/thermal/qoriq_thermal.c b/drivers/thermal/qoriq_thermal.c index e58756323457..61b68034a82e 100644 --- a/drivers/thermal/qoriq_thermal.c +++ b/drivers/thermal/qoriq_thermal.c @@ -157,10 +157,7 @@ static int qoriq_tmu_register_tmu_zone(struct device *dev, return ret; } - if (devm_thermal_add_hwmon_sysfs(dev, tzd)) - dev_warn(dev, - "Failed to add hwmon sysfs attributes\n"); - + devm_thermal_add_hwmon_sysfs(dev, 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/qoriq_thermal.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)