Message ID | 20230613112444.48042-7-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 D7FC4C77B7A for <linux-amlogic@archiver.kernel.org>; Tue, 13 Jun 2023 11:26:37 +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=1GTMkiotjHZO0cb8ISM7x+3KO5r+VC5bRBMzNKymnko=; b=oC3Nugw8F5ovCq B+T56l4OFPEtwIzQi5soeF+0pm1eFdZ2mqZ5PzVIacyMH4GgIBTH5FU0SBXcQMKWNsEzp1As8Vh0w S+GVuvsRoMNP92Rox4WGrh95JgJN1M8CXRrz4IbSyAi9qcbCGbm3jXcotkeQgM/K1ca2dOHr4umr2 GvuYSvIKkB07cT03BBNWr76GSctLZhxQUYfpj+SWGsBhiIBDCUZ2vWbUZ06sAQFq1squLKdKpI0uv bsIs4aZEwSSZVKaYdeQJ/6U6iBr828AFaLduFov9m6PcZMDZ1YF+y6Z4DN4lORQo0LuUcP3AaO9Kw xmWczDKJZZYbFL+NPM7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q92AB-007u3G-02; Tue, 13 Jun 2023 11:26:15 +0000 Received: from mail-tyzapc01on20721.outbound.protection.outlook.com ([2a01:111:f403:704b::721] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q92A5-007txN-0M; Tue, 13 Jun 2023 11:26:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l2AYLO430BMssNJ3nuaO9cR1jw19zTm4ojgpOODaY2W2+yv1IJadZXeTv3m6VjkK8yJuKKXyharjmCqRR0a7jLEWQ9zvWbYSh1GeEQlj2j0tMTXpoo89dVDOvZp3A36OL9Jx+dXk6h59s0gyq55ILROTpqn9UCdQVa7IXmpM9CThR4q3X+KLcfAmRGeNrDkuOxB68zkUMddF0/0dJ9HMpHyK1M3oNw7g7ECOMeyxUSa0h1LDK9kfYwLlsh2PQP1X6DImQt08FLl6gyd+rsMBlCTagAuNkLZY0e0wZXgGbeb+AL1vTQbhlP1DVZaTax/CmOzT/SBMuawpkUHu03yRcA== 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=nwGsW5uXJMvL6zmTDh1Z9i8qbGTzaQeMCJFv+1pwO5CZGejpE0uWMQ9+WEXJBb3v84wjXHW2SfOnO9kv15IoHE6mhTr2nmBGdadzg3V+q03Y0hQPEh7OjSDtPQS6mUBhhRdKEBY9rU1M/+wSDfDv7T5sDN48AKTWbH9VuRX6ohIDS2vAJ15JOMCI5pp8E74nPiFAM+fSKXHVEbuosneFw/Ny8WXWoTeaHRbRIAimylxqNBac5wHuZL+TnQdJwKz0fRSyYZGlRE/ZS7mas3YVzCPmOLz0Agu3PAC7q6cP31Ykb8/kc+ParcEMZS09AT3ZKidlbluBZGzbgfIHyXQXcA== 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=BPAxh6SeqlKnUcXdcWA7etIuJvIdQ5eHF1dL8Brvz+jDRtRq8PKJEygOMJ4ZKG9bEjn6xJF/vBHQL+920muQpPYWGhW5LKQsE96YgCg4ZtdgnvxF7znvQ0QpJ9LK71QgpNir2GXieFfBhHOMGBsX8MbdbFx1mnN3CTbMKdTcQKE6pmN4b6fIGPChr99YT7tVADoQeUEfadKp+QDOFdenaeM91qvToak7VZQzW/OAsZ/HVu/Jgzco2l/YxvDfg0fTKWF+Zd+YKrlnzVLw6Io+0Ch/iJnOFSxhP4MhuXbZLqcskosmRCOoFSorQwfUxVfwRlwykAsueTuuQNZQIW5ayw== 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:26:06 +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:26:06 +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 07/11] thermal/drivers/qoriq: remove redundant msg in qoriq_tmu_register_tmu_zone() Date: Tue, 13 Jun 2023 19:24:40 +0800 Message-Id: <20230613112444.48042-7-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: 0902a9e0-8d4b-4e58-7fda-08db6c00fa66 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oSby5RPHDvIJfSF2bnivoo5bgZgMUmi++7zGmPpr5R7dE/naXIXdgUxStuMvWlHuXEE1vxGOL4FAaKhgT5hZdZ4HAvseK0+wVxCMJzdudOXJakZrSmURknLZUxCNTqjY6pcOitE99XbyRGZ0ZupAicO2pThFiDxPclc0QxDFMZP3fMH0f3hkgdaXTRgbG3mc9JYb6G32ZrRET8lWi+okyINY74+KhbE5/AZFM1Weqik/cgbUd+vgqXSgXgOTVCiKVCAHSD3f1ou+WDh1W4Y8oFjh5kD1vpfBpDZ1ZxvvjW6CaR5IugnyByt1orOHHth0uycJC9DQb1JLrqjDqMttiDiBI4zIDAeWNWKI7PMW7HXwFo6kPJLrNTUIVGbiEcu8/PVbvv33SgJRbcd9XE7hRQD9yaXu5vwvHPIteqbRUK7fNeob1HuYbjUkJyjzCRTQbr/r0PpnXP4EWnl/EdS9shCwURjwMbh74x67ziwUbmJq1Epbii/tCiHYzQLcBh2nR03U7iu8WysM08DrmCe9CyovFYFrZCJuMJZLKUgxkwKMdDhl8/HM8BfH0QZxR4ufHg3yMDjpauyxItiDMcnWn+ieaXJ4CLnx7Us8vN9v/ekIiHmKhfXafybK9iI6jLapvlGNUE1nuJQy5xJtcMrCkA== 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: 32NIDVq8xY/IwIl93dDmKku5xEhEmXytNBzBij7Ys+Ze/Nh4aRo8V1j5vj/aNHeP/VIUqRAJBy0i+6XNZCIq1lLqXwUG0njqPMYC13mKdRc7MuY3eZtBOvKWZm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EE+3c5Ij3PrCCEvwqwru96jTAsMsAR3uyum5BZ8pltX5UbCTWTixNeVU7y1PWVO96NWkfL0mcrR82OXrsiPylpF+zoOh3PE2TUKlsG+o71SZSdCC4fZvsuiuBryXac1mXLfJMmiKeAycWntXPUnSFo5hpXIhQs35sVdriMptNisxNjkdNALyB+BlY+xrZ7DnpyE0yZdlQe+tWM4RA49fohM8DrIY2isW4Q3TTrnCvUjbB3xHsqHJcyWKV2oTaqRL8GOIoSmQC21doepvztjfKXZUJz5g4cBE2f2Mxwzx+ClEptBNOwF+YRrpzEFcImJVVksTKtPrk7OzpYD/ayZzOO0gqh1CHTPiacCzQCcwOQhqHTbQNO565byqP+39Tr945ysbfHAneLD4BsqcHAWH X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0902a9e0-8d4b-4e58-7fda-08db6c00fa66 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:26:06.2475 (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: BIu0hSftb3RRIhetCi5Wm+nIWkyzVqI1yQxeBohVgQOEV++N/Vvh+NrtBLaqYX1mqo4JuiCoToiIo3GudtYn+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB5920 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230613_042609_181548_51D410A7 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 |
[v2,01/11] 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(-)