From patchwork Tue Jun 27 10:12:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 13294274 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 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 23329EB64D9 for ; Tue, 27 Jun 2023 10:13:18 +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=mDemYT1Dx1nOYvcQMNJaWeXt8bMfOrZiFsBYVpl6eaM=; b=FFn0Uf0KNxBuFk 8UPXRtkLlCxX0JUT10yD37Gbi9OSMFLrCmX4T+2/R1R1h4MGuNjYy+zJ/sKsZFZc9flj9vCXtvjWj IAe/A0LIiPhb2FRTCxt9R8+fy2EGULceOThXqXHCJWglrwfExDc2vksPShd+ZnQA/Mbr+PJ8JHFs5 dp7rfyKY/79xP20+Al8YycSkWdGSgBDCjriPvvR5PuY9JdjMk2NTWOjI5pJSwLY5bXk4YIv044Zz2 eeBj2OyVXPk36B3/XRbeEYLUm7p46PSd+OmEPACJmQ68Oapy7LiPfMTVXvwXQvlLjqK40W77yEbxp du3yq3BriqftU6R11DCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hA-00CmMd-2U; Tue, 27 Jun 2023 10:13:12 +0000 Received: from mail-sgaapc01on2070e.outbound.protection.outlook.com ([2a01:111:f400:feab::70e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5gu-00CmCO-1t; Tue, 27 Jun 2023 10:12:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aTM8Ut8HEZ917ZJJA1KBVmbTd+DxX6I9a82uTjavo4U2UmNp0tOlCJt8QybDH/V6TwN8rWnu0efU3CWb26CRZe8JBXRoiMUL9x1d7pIh1vUB0VVwnVsqZiY/98Pi1gi7kMSdKjpKCAB+B69pdJEsAnjSawm8YIum8KOjcrVzVzI8uqAIu8oCpBCZo5Vi1yfeuHNUwM4+OaLlOpL7/8OJH0takyNVD1iGJKG2mqm2s/GEOdt5v8yDNG9GbQoKVux14ptWDdW9fwTUN+SmBE2pu30NewPWCJHPyKx/e5djoTPRybbwOO5MXfTc47jEXePhHSA/gluFDG7vPX2rLLiPcw== 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=3Qb9DNrkU5ARIUU+cr0yOK+SXTENy6LaR2AmgH4Ek9s=; b=VagiK9zAx6J3r9729m0bcTbAQGJ8qmqQA9DJJNq+t5bHI5ET06oGc6GOgRoBrl+sWfekhaSrFiBLxnsy/M3OIFggMkzNBL88DK1DQyvkVEubfxWz6gYQouGm2V52MdZaMleY/Wj5LJMcEcu+j7Tkx6GHdPuOjzJS2sQA8TL3LgZQqsEluJzg+pb3xJ4qiQ/qMg4Gb3xOupbZXMVIKd5UH/HJRjhpEOI5ZAgFuTqJ80JengWmC2cbB7RB90zpiZk7Wp4H3gKpA/sUD+m5GMm6Xn11EAxk7SaLaUph0nUsQfopCRFbrrG920A4PeHlcD4cNSfCYq1In08jP71xJXkhqQ== 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=3Qb9DNrkU5ARIUU+cr0yOK+SXTENy6LaR2AmgH4Ek9s=; b=SUrbqac3EfGN1S3nopkNA3+9TTbKfwSY/fMd2NozrXJQmjYc9EbJIemV6tb7kUzUS78L/M4k9z3Aoxgf3SgnGZJyZP/z9fDXXUoTJ3rZRWQufq/P6AlesBYfJDRuoYecJzSn8NSepTeRP3lNyp0DoTWshA8kF3yYmDrOMZ4hlJQ1lI6Yh5SBhTAs8pUWYTkFw0xz9rLr6yg4R41xEmAoU/a+++75qz0K4Njc3sgDYZAw4VAq2pKwF9Q0OtkZK3GWWdlmZznrehAbkmxukDQto1QWDBjfr3v2EJZkNxetfkJetTKrYLptg5oW1ERVwJ3/P9cH2yvlN/PuELXxhYowTQ== 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:12:45 +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:12:45 +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 03/15] thermal/drivers/brcmstb_thermal: remove redundant msg Date: Tue, 27 Jun 2023 18:12:03 +0800 Message-Id: <20230627101215.58798-3-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: cf15c978-270f-43ef-3f1e-08db76f70cf9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RERfor4MyLcbGi9OEmOV4YLKsrSiYlxbP8Edx+oTZcMa41NYiOTT5LKGkhSE3GuLMOulYXxn5wGi80D5+eUwK96TK7GDxkAnX+aCVLCEWXIWL6gcNf5h5VdiLLY4oppK9J3B0S2ZXC2YjEy9hvZowjrps7mVj+XZxoDjBtVcpAWiOwW9g1HP48GcbGKZROqQaFGVD9siDkO5FHc5M6iwqCIAOy5CUlW1tUsXuWngR75wXzJvwNEaoBQ1nbUViI6CCivRk9VK7e8bN7s+uL/yEfaMwFsLCksQPF3US9rIzDVDfQP9hkxCPr8AnJRIxxAxVOo8q+oh6c6He5rtbSFugcSDCLtWUQEWDLMsKxCqlE6HN2YTgpyOFtzGOwubA0/B96vAf/m6JYwWBzWpoitJgBLYzlOHB031vDnMKpAnN3rqODpRr8Bc18KLtBOoKrFe6efPLzrHHbYlPa96rDe8tOiWR9yzaFUgf49v51aynGjVgvlwirAq2GCiA7xcEQt7CUmLUJhjq5slPX+IfUcab5tNb56HSw1zUQh/cgUDFNP/2viejME9CLLILFyFwHrxZO6qWqvkri693bzZ65G0QIKQZ7rRSsIU8ctkK5FY09+Qcx1fczkhEfSOBsOHYghiIQbv8T5Iz5W60ZipMEfeiw== 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: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TyixM363erwx6jdtMuoNTwZh+sOcAZOs+mvS5THqGNRERf8ncx8sjTbLHE793EfmKmRsKR5wnlFj/UPXXuX8h/4ypOLsR2qbgBAWQge3JA13y8naCfA5bF2bHwTVgpCOEISBbzv6KYfbLGRCdZqUDS8K8kQfrF3GdidmlJZBoMKWwp2IrNQpnz5bV4CFj5+Q23tlCiqx/sw+7XJ9LTF8Lwiy8SLydy4V3e76C/swZnj1rrLm+VT0PU65oahLXr/zLSK1GYpxD3itHTIdkZePXTQptxqDL2h5efGJNlQr5t7CdxsFv7K/I7Cc3I//bEHP83+JwiOsznwIB6i5BH39CvVrmdkNOmwKgf7E1VaHiJoImg2uA8m4EP1OYE2FauP9lQUchQu0X2fvUFK2McO/UwmX3B0AkWawGD712lTi3cPUw5KUXP29IBfdyBQAqZZEtsmnT2Zvoe+t3fq3K80Iy1E+0iW7QbWvOCKhlXkahOSjesx3GYNZH9LsAjRzbIu6iszKfPTZhQlzji7rquZ32BCItfQYy9MtKtUkl03INBjVjMCmoAyUPUywsW2wbnqsbXPHRxzz X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf15c978-270f-43ef-3f1e-08db76f70cf9 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:12:45.1572 (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: Ku/+q/nqrQa3cKAhnUAq9ILBPB8xiZemGqJUyhiX2BBQRU3Tx+GzH9UUdlGTuwkdPFU1e5tD2BH9nGsaCQHXRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031256_630271_FC290444 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/broadcom/brcmstb_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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");