From patchwork Tue Jun 27 10:12:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 13294328 Return-Path: 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 93890C001B0 for ; Tue, 27 Jun 2023 10:17:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbjF0KQm (ORCPT ); Tue, 27 Jun 2023 06:16:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231795AbjF0KQC (ORCPT ); Tue, 27 Jun 2023 06:16:02 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04272953; Tue, 27 Jun 2023 03:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X8TK7FMioK79ECfuyLvudmUqaTTTxYzo4/vfQth+2PiLvD9Mdexk3rOp9S4LmnfsDgPh2QWBVSrlffeQu1Qtnx8/LknnS+xJCBfSJOelhHfOa0mvtKTaRBtzGnM123PHnEdDM3VqWhzzORJLUdiXee099CcpySCamRcH6DPLS/7ezSql+KTaJ6lCxQOMH6WrhBV6eMSINmsJ+LbXPSozCI/VmqTkucDWNYhUilUu2WM7lVNOH5PG338wtWvPWzYLjHj3pMXjJ9k9si++EkzX1FTK19FtDCNY3fDtXFg0yT5wJtUg3LWUDjkC8+6V1H0nwuLTDWOIGp53HAM1UMnikg== 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=7rIIic1NGOLrSpSOYr/tgCQmUEckFNCd+urcvRljaX4=; b=UARPcNuSGBweLGIlVrd5OM5aETVzc0fu4SYXpKJZKYr/pd6HX3AMpWutNuZLGfWjCFYhF0GSsDAXc5VBEhMok1e2Y1In8N19IfBii0R7bZchWMuz8z0gsiiLWcow/gle2NinFAkLbcdmA9laHmKvlciZtc6mj044+GFySZiveXbycBGM0GWsmSb62CqMQ1q7Ex3sKr1+wVUrJsmiDH0NhxSFsAmBBww+537dsAowHXT2mzrgF1xQ2YQGYeQLIj9n6AJME5G1Up0p0s2BqfmRKPQEA/vw8TNASmMMTkfai4eQ4qGJ3q7slSyfyozZ3909OtOvMT+2gndPoImKWOY0JQ== 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=7rIIic1NGOLrSpSOYr/tgCQmUEckFNCd+urcvRljaX4=; b=CdMzsZzspoUB7k+Lx/mcknmhi24aC4l/vdoC3t2Mtt+kee0ZuyZJzKBplJSO8QeTuzpguSYhnpJSxlRW5L224rIxDGPAEpMYvcHc69omk2vB01OA9KJz/zi7A9+xWJoPSPun2K+Kzoj7TmfdviONRnn25++te5HQu0GX5LDglb0ThTk9YXlT2Ik1wx6bmIDwz0SaACtZFYgWd9pO9qpGTNGIhpcJ3vRIMEAG4sOuFghrhdI60vPBk4rf00B9Y6gZzHjkEI3YDn9b1jfQO2OlLPlmt48XdhKhHKFOZrrZcCDwVIyUoVOql02aGVbAk59apOCMLVTUBLa9NbWtzU68Zg== 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 SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:54 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:54 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.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, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 14/15] thermal/drivers/tegra: remove redundant msg Date: Tue, 27 Jun 2023 18:12:14 +0800 Message-Id: <20230627101215.58798-14-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f983a9e-8612-43ce-4ce9-08db76f7360e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a6JhQjYW/Cqkyh3Si/1GVySgsWOqjG40VxshxfDGj9Y4P8I8sIIS/HzEIYz6BV1/a1wJBbt8If3UdakDD+spEeSlsaJS6QKNDF9iBl2U/Pl3Agr6epdImrzXNugYg2vxQlvsfsMmeeOQVXZM1iCjtKjZADSowCQ0nUCT4wfnJqQ1QxNOhWYrIxQiUJySlxU3Djb5EsijbQn45Ot1RSkzoqcYda9s0kq3XAIcZXBGOCo5rjPHiHfOIm3sv3vP6JxYPd1wIv+pu12jl9vYxTo2XZAs4vJfyHufuPLxMjaqCeF7tpKS6PBICmotcQstrHBSKBRt4JM/tL+bo/2qepEcDe3KpUNwAIh/IdgMHiPoyEl5qZ7pml0KRofmVCwSyWgB0sIAKAblUrmcEqAwm6NEITvrlHCPraE+TZWWan/zA3mv1tbf9xt7C/9a11qhlsXoWAFIueA5PxG+kAD4xBhbtRkMMuDPhX/d8ZWgqPnzph7Y6XzMpHy97RkPurzK/jywOPlUjYs3XC2mHZecvybqi+Q1WayrPWkrkvXE90KvPGrd6WYxHq+hNsgUfduNIkE1Zpn9fqfRVfodGMLIL+R3yNF1Rj+MizqOPABMbspS4ttbW6po/Y+Quivdt7tPeGDY28K5xQ8jgxIxMf8Q6TKwhg== 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)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: d/HJ/AozBOQ3WCGANv65bqzGYSAnXPgz4CCPDNSFvhYiiQcUt81G/rklLhhdaY06tFAdYToyWA3gWwU6vRI7ZCyr8kokngjr4btHlGnFUvVhc9t49rks8EF2jkfTWxgh4D3+zF1xWETjFn9KNH2GBmdit6w7LersGNfoxNbfJbDkh+jCaleHd317CY8ploNvg2hcdHgO7s8j0xP1hGElQb7JgiW5zm5zT5HYRJDKYlW9nUzlS3B5xd1vpP6DclRdAV+ZX9vTEKKWEc8xrW3av73L8GqyOSp06FY29JtBDFRpAdnfJ5OdkC0oPxvhZkydcU8Kn791GyMNEDw6MqgCjhqBigSpWl1te5RVn+xZSyC9Z/9alFSc6kcc6E7n8JrdV5UtGW1EEmFeUCbLGde76r8mxNIEooNPYjMfnKBQIrOvYIePiPt+tWI0+K3UGrl5li+fW/oAGhminmL0WPzDheCcONN1XlTzohnOOPEfhAU5cC52Sntliqcfw+Vrt39yxE5MfvdRhdiOONFUReyW6qF/08ojJmrOZ3Pv7lCYdVBc71r/XmZurSDW1cxL/F8yLjO/Fyi+S6+spL5dYyF3EWRqxZkLmfz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Tenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:54.1104 (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: bne7KRUdJuJ6RX1GnbNzvzxkR1R/trqdehm4cGkSvKrYRQhccxKmVCSYSy78ZeIZES4k1jZ4xpLDCUOw86VogA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/tegra/tegra30-tsensor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/tegra/tegra30-tsensor.c b/drivers/thermal/tegra/tegra30-tsensor.c index c243e9d76d3c..535a0b7304e5 100644 --- a/drivers/thermal/tegra/tegra30-tsensor.c +++ b/drivers/thermal/tegra/tegra30-tsensor.c @@ -597,8 +597,7 @@ static int tegra_tsensor_probe(struct platform_device *pdev) tegra_tsensor_isr, IRQF_ONESHOT, "tegra_tsensor", ts); if (err) - return dev_err_probe(&pdev->dev, err, - "failed to request interrupt\n"); + return err; return 0; }