Message ID | 20230613095624.78789-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 E4511C7EE2E for <linux-amlogic@archiver.kernel.org>; Tue, 13 Jun 2023 09:57:54 +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=QzHULx7pMIIIfN +WdIZaUqO3ki1q6AdeiC7aUzigqsSNULb3GyPJwesCpCPx8iO1ajDCKyjCKpbqrtG7o8D8z0M+OVs WykUgoqK1L7fhA5VnZAZ0VBQYi3EyZV0wCzlU2COtEuzY8qeU3a9dhv01za9lD3ZSWlfJGEtZrDXo XUiKgJnPPmIhqT9SxD9OafBHVLe18fMrnTdXP+GaLzBty8H+dcXua7KsTab3bPquNlbbTDOc5n0Fl isDmYB+mXJF725IxFnsPGrZTOZfmLEEOlk2zqEpNvzZYpaIAAc8A4UxiaLaEwUnjnHyO9Ctq7Fw1z aSPjXFavIy3qzg79WN2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q90mM-007Zq5-1E; Tue, 13 Jun 2023 09:57:34 +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 1q90mB-007ZgW-2a; Tue, 13 Jun 2023 09:57:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bsr0DxNNeyHpZOpmzcNJri3bcdaeV8GnFsjT+FNssXcL+kgshdWkXm3VZGSnCtL9+3G7vHZIkMy/t4boHp5wl+YhYYfXSw9RQbUnjg1cMQ+i3RUGGyXNnG2iFVvTqtmun5FuXb62qnkcBilaBlPU/EqZ/GUbnLY9/qqwqT8sFP0ZAc7T51P0GjINt53toM6LTxYAyd54pjhJSNXVnN15WH8vpa3u1qvellda/3p+iiwoROqFu9pfF/RartlVnsUXD2ueO+LBQv9pC47SIjhh9w6VuFLbBOK8yu9x6bvodP53eVLcszojSnFZVuJFTmFtn2G0muqqcXOojo8GxB6dtg== 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=ZVYMd5TlkUOgqD95T8OPOBhgcWDCiewzYAecTzQYjWGzZQJoAiEJGB3pqaOAt8KnYmUPf4te752jCTDTdAdD6BoeT+mUQ22W8Q0XSZKi5EbX2CWM7iJ8Ecskb6yR/rZWO0LVVJozODcQO0RIv29H36rc1hNWJo60K1BBCqRSvny+AbV4fZRLepXEklKhAJN63pdLIc2D44y4H/1mMHXTeTfW6I1YYOaIk8UepjMwuBOGRHvG4056ilXKXF6jRFD128n6Aj3pLG7JMuLJaUHpGj/KJxRc4XmoQi4goKcQRuBQsDgUxU4oVo//H0pmmBDCrvnZcsIaplcmxSJSpncxCA== 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=kP469xEBH3FdjUQ1WKcAzPHYgd1L9KRqG5pmY0m6zfyC5nviykbfC4V7aJbah3zyU/96vppbQoNm4ORUcaqi7wJMZZ5EdHyv6VsXOq1/Hvs1csd1VBQWDyF7qg98O3AVon1Cf1tB6SiS++O4++WjDisuh0PrpIpoI0HmGadc7TKs/jHvotAj9DvLdqIAonS1vvHA6P37wKRwY2eGMXRt14CSllX3ZtOxCANpIq/oquUsBJNJd5OkaPmKV9J03hPXmMZb0ypOy+N1dpJI2I2C0/g4Nik0wS47HcVXBUwjqOWt/dS/KeXz6LPPj4Yma9jdp7dlg/ZE5j20nWJ7In46WQ== 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:20 +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:20 +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 7/9] thermal/drivers/qoriq: remove redundant msg in qoriq_tmu_register_tmu_zone() Date: Tue, 13 Jun 2023 17:56:22 +0800 Message-Id: <20230613095624.78789-7-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: 5ed2beca-81b4-4c9b-72ff-08db6bf493d7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b7MSZC5L1SHrEbhgs/xvu9wdsFYP3eCVUnXtYIlpjaDiC21LAxXY6kQSxyDaV5XpiUV4QbsAkJADQHWYAJFFNAhrQoVhAWIkZP5vRdRQgy4VYuWfFqdlDLuOL7DSiESUBp9A86hNuS0lvMuJiK3zqeDbca1KGtIniHVSairk8jxe0Emmlqk1O1dxuNOy+5HJ4JJe0WM98mmRpsbfwuJT1v/nVTxognS4LbYQUaHWdGZQ1pH2K07/l+xtd+Hl+T2k0QyCJY3f5aZqlEohj3CGzyB6Oo497s0/BfzhvnfAG/VjJsjyuD53a4qX8pcu5BI+0ndYwBUbw2rEtoXnBBZXoNsgdcsn7TihK65nK7NUaaMRbsJfOKQdw7inNTJvyex+tc6i2eJ1KFkjRc/QKb302eJok79n103xbgtTT585bHZh9mAIo5LiENlYv5I5tqmwRlvQt+0XuC7v++fI02m76y3yUJbbdwCMVKqdSlVoWwYY/a+fQ167dnfkueSeafL+1tXAHj6nSJ9LpMJNHVCEKFBtpdxdH2AQW1q5urbyVrkGX2FG3Cl9+c+HlTZqUzS9yHyzYjwoLQm7VGrh/Jk2t/mPfH6RhJKmveqRWGlgVQ0e8X/0xQ1duD4P7aLyuAvAkHuENQxd25bgUofkzOxzRg== 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)(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: oKXZzLxqwhV1eRE+l8Z8eHlE2yio6SlCc6Ka5euJfjF95XeRx+DYeSXjgJV6BGNAzjuD0oBmGkL/lq21r+7qfJT/6hQi7i9l6mEWg0tcX+Zk1xZQocGRWG3SkwT1WqjWTrMTMTPVfUOaI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Zxfqr66HPYlAxlTyDzXmPS21bOFPJHTl6UKPx2r7bGNgADiqocMA25Py4bpZ9OIjV87oWgsZfSMvXzhQRJIYGESW7nD4tktn/CPanGo2Pm4/5Q4ZJygmaEcMeI+A3CocuJfZVxiZGwj++gLZp87AEe5kQpOX2XkD8V45cDF2sGuuz/RB7fSpWgnR9Z/KNcJ8yPtYmUC1LscvDnehg98crB6CuDFW0EzVl7KxstXTtBP9LD6BnknaFss+1ilIonLnS4cYkV+KOhKyXuvKq5Kp6p1XG+HRif2YTkpyQR3hSMbz4jVEOx/ltEXuZHPbHrqY6DsVyVZEYmLLK3zshbnjji7Hhcz87EphHeTBx32a8gYy8njP2QsD2W4olWgKp1JXi X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ed2beca-81b4-4c9b-72ff-08db6bf493d7 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:20.1767 (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: hdRQfjCjLUMjh+yRBMmdmD1TNdn/+Zd04XxnQ99UZIGExwnKLKFr/HfQ8suvXK6U1NkhgttKPqf6pDyk676SNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB5784 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230613_025723_854261_9FD37BB8 X-CRM114-Status: UNSURE ( 7.96 ) 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/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(-)