Message ID | 20230627071707.77659-3-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 B6C71EB64DC for <linux-arm-msm@archiver.kernel.org>; Tue, 27 Jun 2023 07:18:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbjF0HSk (ORCPT <rfc822;linux-arm-msm@archiver.kernel.org>); Tue, 27 Jun 2023 03:18:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbjF0HSi (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Tue, 27 Jun 2023 03:18:38 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2131.outbound.protection.outlook.com [40.107.255.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20DC31BEC; Tue, 27 Jun 2023 00:18:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a9Pd5/fmiJ1XLlHpYw2uLMB5hPZAIQUU6odpIKYcjbpYTk6Tfrx8sKEM+gBXvMiGqhrYigC+PSMnGnKrO6aM6YFm7j+02D7vV54ocTTIZH+ZBpJKtRoyX9NwAO0W94D4U3BOGdf6zI2Z9kUzlnw2RqYh4KClwVLoESqAmkkVLQF/7UF8GTEd016BPl0fjpO6bCfp0USKnNK35jaQcy0z10/HkAuSAn9JsxZrcTXpYzsWsN9UeZk/Y+3D5+KYUCVTs5dqQeAanecO6eLJ77KYtUnxVc9FLsg0GOGRR4r0YnasOsxpkLipnFWF/gQnKgdMxuNq+IKJsLD3LNwuhUxNzg== 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=3icIxl0tLCyJTjOBjt4P1sSfvXumBXa37u3dbHG26bk=; b=KNvMPa1yi4yF0xzQ7Nd80ZhKXVC0/kKIA+rsth2LY6Us/qpVvUGJCq9nJEfYytZe1JJmlgPw/y/ZdmHPutPDVwKoj2gcA1Mvb3tgrJGfiJYArCnPKc1iB1Y2sQ2O59DhAjZrSlexLkDH9ReujeBdjA8e8JHJ++D55Fn2zNW1VdQxG8ZiPaKaKQlUUHTzmpTLn2H/LdxOv1tNtSwIXiX0XWiNn1DBpxeBaZlE7TGlaGf0V4ELvqkV7h2RkaOOOxrK54tAB11TaWzXlXbpA0570vbopixiwTR1F217iLgdP59VdeS9VHgY/RqCLfGC7Zm14IZeKG7SfZvFtek+4m6TbA== 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=3icIxl0tLCyJTjOBjt4P1sSfvXumBXa37u3dbHG26bk=; b=BScsMsV9o8wasuqU8tttt94AhGCksc0MrDDrJLqU4soe6wE9bemmmtXtFvYtZQhBy/rbd/Rv5ju/tVo0/2nijhF0f/fQyadM5Tz8gdYTlfOdY5UVGLaqQQcPzNq7HmMm5QLrCJV470a5oG2q3e7+qYeTSMWJ9u8NsE5soCcE1hxSRq8A5wo1RdnGcpo6OoS9BR+BPxSiCWkQ+q9D6R011QdNXd5my/1xa50Z2MOq7xnL775EK6Agv6BrR5Fs10grSQcSFJXbRJyuo2MEIfr5M1VvDf08KODAPvLamrouKhnQdpb5weCrk1Yib7HsKpFksjO7BHx3DuKXIdkvRb9X4g== 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 SI2PR06MB5137.apcprd06.prod.outlook.com (2603:1096:4:1ac::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.27; Tue, 27 Jun 2023 07:18:34 +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 07:18:33 +0000 From: Yangtao Li <frank.li@vivo.com> 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 03/15] thermal/drivers/brcmstb_thermal: remove redundant msg Date: Tue, 27 Jun 2023 15:16:54 +0800 Message-Id: <20230627071707.77659-3-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627071707.77659-1-frank.li@vivo.com> References: <20230627071707.77659-1-frank.li@vivo.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0098.apcprd02.prod.outlook.com (2603:1096:4:92::14) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SI2PR06MB5137:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d4c458e-a490-45d3-279c-08db76deb784 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KaWEyH1G0RffvlWzNDYR8IhqTHhw+kRBO0WOZ6g2yHJXSh0YHipOF0/xfEhilsbQjPrvDcuj+lDTyRXaIiBx2NE65eTsNobdkeUnoy2hCdCO3+3g63dQleip/0heSpmbfM0wJhmRu708hzVrkSyE2Bd8rCxnI0QmCUuX/ubVfPlMquZBOy1ctrvpE0e120LJILoqyXG4mUwUN9BJshsmU8NdjCXS4zzDDQ4F9yNAp8HezjjZtB/khUfCSFw/k2jLq2uDz72n0noC/wYw3Lo/jlaDcxaEf3gC8cUlUtZNgC2BGI9X6I4LZBa55nl2L0ursie59ROitx4dEDP+Ku+UBs+HzLKQNqtRLAFv9v+vCgvMPzu9x0MLzYCwiwwStPCkb6O/l1zuRLL0k7AB54idA+ecWpI80bexksuBeypghW40i3MTdD/CX0AiA+b63Hh1SHKuq0Meynp537+TH1uu1/M6C1ziMd7DG8Of+9/a6LeNRJPi+gNg1jhcsRzLN63O477izGiEJnX6ERm50du+0No+DgUs2VppO/3CsK30P4aBVKg1IJ6lKmaKI0RgL4cly1qfvAFAvnt8424/JyIdfFqh/htTRP5Pyfi2nH9IFIY5n1dz0cNeDRFVIADWp52pVjpMQyNiA8hVFvfssawXzg== 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)(136003)(346002)(39860400002)(396003)(366004)(451199021)(52116002)(478600001)(6666004)(6486002)(1076003)(4744005)(6506007)(2906002)(26005)(186003)(66476007)(6512007)(66556008)(5660300002)(66946007)(4326008)(7416002)(38350700002)(41300700001)(316002)(8676002)(8936002)(38100700002)(921005)(36756003)(7406005)(2616005)(86362001)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HNjGSRpIhy5A+1DntdVlGpZrDWjW+dyDD0JGhdA6fNTp6fNm3pf+jK1SghpZDBdZlPY4/Dqi8OQZcJxhcMwoAAJn+mO0+6SJsdLrWRhveOi+3Aspa8jOvdqf8V2LxFmWG6jr/eOfd7yIgpvJuSupN3p7/bj40sa5ObG5QP+jyU2leQoL3KzcmARiqq2hXgL1XlAsWR7+M7lC2YXUhRsrU0hhJjlZ+jtC7ozzrN46JbJI7ylyoxaaW5fm0DYe8b9IxM1/r4hWvtl10KwvKCv/8sHTFiL6le31/rxQgBJAbGX4HDFBbAnIANcSPFBfaPKzyR6ZJ+hocUsRy5n1IHdgU7FU6PGdG4Kd+pizme7zRFcYGaU1eXJygJMIKdChRJmr9byGOlDkoHSHEadcgm2H71WUhrwOrZJhFd51QvmyPJbqHRR6MDotszlmgOVW93Y00LanknW9Ey7WViBZi7dQizf0i5JrSe5Bdlqt+xpJldhJvFSaWZFeZ6af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IiN8cVbL80HtT4x8TFKK8wi/RCDJ103L X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d4c458e-a490-45d3-279c-08db76deb784 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 07:18:33.8620 (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: kmzrodgNbSRrUvie+n3YYN2L02zAdL/6mdrvtp27E5dVC0T4fIf3RRxKws2koQq1tqFny4XJ0W4K9SyOh9fKag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5137 Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
[01/15] genirq/devres: Add error information printing for devm_request_threaded_irq()
|
expand
|
diff --git a/drivers/thermal/broadcom/brcmstb_thermal.c b/drivers/thermal/broadcom/brcmstb_thermal.c index 72d1dbe60b8f..7611094cf367 100644 --- a/drivers/thermal/broadcom/brcmstb_thermal.c +++ b/drivers/thermal/broadcom/brcmstb_thermal.c @@ -353,10 +353,8 @@ static int brcmstb_thermal_probe(struct platform_device *pdev) brcmstb_tmon_irq_thread, IRQF_ONESHOT, DRV_NAME, priv); - if (ret < 0) { - dev_err(&pdev->dev, "could not request IRQ: %d\n", ret); + if (ret < 0) return ret; - } } dev_info(&pdev->dev, "registered AVS TMON of-sensor driver\n");
The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li <frank.li@vivo.com> --- drivers/thermal/broadcom/brcmstb_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)