From patchwork Tue Jun 27 07:16:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113274 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8010746vqr; Tue, 27 Jun 2023 00:29:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6EBMhBi8gAN3cGYWgU4yVfGLYo95lS3sE2KNRJqiBO0fYMyhhh3QLER9uSufbGQ0vlpOWP X-Received: by 2002:a05:6808:1524:b0:3a1:c0bd:c51f with SMTP id u36-20020a056808152400b003a1c0bdc51fmr13313299oiw.28.1687850969159; Tue, 27 Jun 2023 00:29:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850969; cv=pass; d=google.com; s=arc-20160816; b=nCTDzZ0w99zapadiuuNL4Sqiu4nCNNZte7nG5I+Yj3GzCueJfZj7A8u6zfwIW+Sw6e QcnF8cZQ2rjd6Z9kH1g+yzJziyFN2YpZauHop1dqGswdGQdbkDjxnalGWoHSxWfPPG7k ZDBa2aO66e0jYxFvjOPzeRJ61i7Fczyq0k7DWTMU2jzdZVbtVxyLPi0iWEs2zogvnIWb zBa3EXJ/ht7HKWgTft96PlKURFJ3fPTUXwZ7Oh4+HpN3g2Okrml6/eiA5o4LOkPjMN7O LS9S5LDxRl51eTIhAr/u/ihFndrdFzz3Kw3GPjbWhBnDnsx264O7cLzodqxAw/HYaUjt 8AcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=51TqBSHuDXoJXJu/QRggDkPtKMVIjd+MxWJJWwhPeEY=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=YdnjF9wkYhiGUY/y/1AqLB0J0l2id0SmS2BelNLMsVgZKkLYRhOXEH90KmKmKXwNYe ro+reLbyYlE0sSDVJahLZW2dIg+yrJqZQOsnBxRLWoEQnzuqkdER1sFelmqnkNPkqhgw qIwjcYbXCRUFomoPVJwkWuaONYF4KTB6A2nUMFVN9Qy38/b8ztqfVVd/AA1cr43dIfFS MsJCj6XXTAK4zjazD4Nd52YoFKkJfXQr4Zk/ZFRu4XCHhT+vekbGRkaDh8E1ElpCvUFE I7eaHEw18cvGhWhpdBm510FUGZrVSktsZJvTA5qkgOBNzMRqpy+c89Gj3+dctFUJ6p7M 6dlA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=NuKi8+9a; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r10-20020a632b0a000000b00543a6cf2b5csi6746922pgr.662.2023.06.27.00.29.15; Tue, 27 Jun 2023 00:29:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=NuKi8+9a; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbjF0HSf (ORCPT + 99 others); Tue, 27 Jun 2023 03:18:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230146AbjF0HS2 (ORCPT ); Tue, 27 Jun 2023 03:18:28 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2103.outbound.protection.outlook.com [40.107.255.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72D911BEC; Tue, 27 Jun 2023 00:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ORJciElWF5fC9RgbH9QjiEKrZ4vImoiL+neQbIJUFe78FO0QbJYkdiAbcusMEDh7M904zaC89864XrlmHdcpGPyxMcMHT7i5FK3Y/g4U5dOUpLyPXllKB9D6lY890LcnBYL8rpBqUAsWmX8RaZnMkEMTFXuwTHfK1VkLlmlFgshEWBPPaLulFIRog3IGik1s8DhItQCAiNys/JI2YV60VVaJQdyl56ahny9/1DCxW1bILNYVUUybNYYwGP2busTWFJhsVnOn7iJw1ucadpaaEQrnNIFDfsTLybNIlmwNv14XYMGXp87kPqXQ7av6YXyJnSzgycz/6TtOCIxb0ph7fA== 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=51TqBSHuDXoJXJu/QRggDkPtKMVIjd+MxWJJWwhPeEY=; b=neMprW9P7ckOmO7clUlJkWtvbbJZW1IIBvB/OL8r6uAJtFoEFvdg/X8TR/AGJnDmWIkIa0VdSzrKgX2EC+9KJEhd7SyoUiP8LG+Wdn7tytmMZwWJ4I0M6aBUzsW0fsU58LgiS5crTs2mcdVIfa/1cMdJ5cS7VYZA9bLnE27ShuOuGL6jYcBXth3KbSxr7UTrT0F8w/pYcoQclvr5mg0L82NXDOm8h2MImir0m6TCsTMk8J9SenDx2xYw7cGGKDafKX5Jss/kVB2Cpm41+HvbzHxDivDFHMUWnUW2AWADtzBnPi+Mt4/ESAqpvJw6FNVBIBDwkeuB3XeiknEYu9SYkQ== 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=51TqBSHuDXoJXJu/QRggDkPtKMVIjd+MxWJJWwhPeEY=; b=NuKi8+9aCEPG7NoMyiAlPkABJXEUTT+8+1V+Sgmh1CCZ6bjeb8+kmvvumxqVU5vOHHxiCaxWIKSxRDhUTJMA5kCOW6ag5ld4vcCqh71AkCcpsSR04P5yxxrvv4QONO+J9fMY7HFtSocxwqajiEmw17u4Vkqp+8e4HmlWeZgmjBwYrfl1UWiVCwmPQhSR2CfG9fTHocG5ccCqxCPMQ/ghgHi4DB0fdLZ7xPBNTCTTI5LwYTkm5cz/Kjs0QNwvrxVN7vBWCI4vqIt1jw2jGcNxVf9bBMfRDdFbd0ewjVAXwjcb5C5k9FVc1dFi/oJCWBOFXQ50U0IEPGyjF5wx/5639Q== 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:19 +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:19 +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 01/15] genirq/devres: Add error information printing for devm_request_threaded_irq() Date: Tue, 27 Jun 2023 15:16:52 +0800 Message-Id: <20230627071707.77659-1-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 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: 59c7243b-d573-4ca7-edd4-08db76deae7b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BMuimp7YIXmbJcYdHfRwr0mPIB2kRS4bhtcjhs/CyvMe0GTjViBkRrquU/ldbzyBK+HnNvjG74mPYHA7gOPwr46+22R7KOnix0VL3botXy1F4QxzV+Ka/U5m+CqpQMlfo4I3orc6DLfyY4Od89C3U1yjfPRj4Bqk7np7Ipr827wLH+AtcYZNwuQh6fDdP/saWyuQsh45FbrpXuG8D0VPA6Nk5zypVBr0JXeU7Ki72kyR8H2l4VWYVhWzpXmCRTzhvhIEcClzgm9mnYlMesGIno/e525i2jT9IbN3BBzzufMakYmkLLdR2noql9bsf+5GsxccEw7MoKfezEXspnJ7qDZxGdxOo7nt+b5XZFDwVIgH9hO+arI1E8RQnj125U7T4N3x+MUTCMXc05hSYgn5yWIhCmCHyD7U1qr7YOr1GPJe3HrAi53uR9NvHF3Qiwk3HvLHN1U1tVhkaB4Br1oQ0lIsBcEBtMe9/oKEAQgwDl58zuH4t58lnCw9j2ZfDaVAjw22sgxSnQj9GDvJfdmCixMhYhv4xmAfPGN37MB0FFxA58TMPM5iXOnG8inwe1GbJuYu1tsROlEtqDUBD0d0W41YNHgAgP9vxVbFYuX9ucdymkaHFA9Kp5PGlZbp/hQfCJqsMj7+3uRTzLmnu+N9WA== 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)(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: qLWCLn6Atkpmn4V9QXQofQM/y+zY3+Phjs3YQpk8roZYbbWC3DlUoMEmBWqM+jGwprheKz+OyWrabLR4aw04cB3MXmAFKKRsTpo9f5BCCjX2iIAAiAewFdrJnV998ifonD4+nImmQW+nbvXGLnS5s3hyMfTLhnF+vFxjBEvsUEdKXbTOm/LfFruuwO2D6CrMxjG9ahvJr95TwNXegMCardugJRZ+cX74MOO8oe5fWg+YMWHq/PmKNpI0P0rXpOVjwIcXa+IIebo538LXlwqGcHuip7a9srJ8pbjQSi1Rwxq1pTtfo2EgcXLysymu01NiBWqCuHGFLD7fvtGh8gBbthbQiMQKA6KGStfeGBqrUzXQ+PcTbhVTrjxpa3AFhJ1QlByYnpIjgv4VdAT19KsX4nqmjUF7RBdIEbuFlUz2whbz7kwmgufCRP3BjfZRmq/QkgRlzDMcp1AdVoK12UjixOWcv0AI6tncDKwZeSk7W0Ln5zgu4NPNYOYCw4ncIF0NzwoVEYzMR4YdPLvvWvKi8eYMW21JofJ2KvylWWtEyimwnqvn92n2JIXtQKxsQywpVfQl+k4q+eoeonk0cmkfaKa9mG7cozugKy/wooUJu4MelO8Gk6HiWc0pJAwaTKdwjK7FDx68fh7bMneneI6/gvzAOdQujeub1011MK+45NsYlvpZhMWVd3PMkAEPFIO9H/8Zge65DhATHKlgvxHEIlY5t5ZmMhMAwIC4E2nCZcPGrOYl4rrjHNgy5qWWFnvyeZPZIdDdtggTB609QEz6pK99/uM8D+mOd9flqgOYPVumR3Z3umKRc9crxs5NNZBnWNRAKdQwAFvyiKmJK/Q7089lP+6xMj49sv93HTqGxfjKg9Ujm2UJ8hw6FIoBpq24QhQoFo16ESPjpYbcKk5Z9rkxJkCpgWPwU6ru8DMT3+1eqSkQl/RIj73HPFwIp5AqIqJC7KYAfeH7WqgdKnt0IE/cBEOxz8ywuMWMftAQyErgpcrFasDLJYiNxL+ls5Ls6gpE+FlQLuDXM5YnSxGR5wbtCfSp5Csxg8urLGlGYkpDUUOeRysxmWbAd0bXk/ea6ctY2bgixjDDhfj744zRnaqyzYNi8Ur1JRNZHnGyCs6hwU+QKKhPFIyrRX1KYXhkZ3cXjOl6WAJbOrvl4ZoGXdG3MO2ChXyqmls8A5bm3qNVqEglRH3Oj13FVJmZ+JcXYR4eceUXXAzeoWOlALn/HB3nAAGddDRnAoyVk1GQohq728vArmijHFjHJ9fH2qT2PPk9tFtYydQbKUUWQY4SBx8yYQNpKaLf2+XNEo7RFOA2t7V5JnL8TdtwvXr7pNS+I6rpsFCy+VTUd37OKB+wELA5Z5y3PkHfOsVAZrDM3pcy168VV8ubp40i3/OKc2H+JgtcOUDugBMqD5dBgRfiP8Vgy5M8COOmd3TqIgx4WPV8THB5CoAuDnTGh9dX2XKiMJ2lCWFWblHrOb3/+8+U0PO7P9S0qVHEJUedN0dRpT4SunS+af0JPuN4LpKQs2HfpQshvp5kTGJTyCUd4nPYQld6FFmmrJXX8bgl6SjtXfzXq76MEB3U0eGVQeNuC2Ui X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59c7243b-d573-4ca7-edd4-08db76deae7b 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:18.7400 (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: GBm1nYiZe272EoTZzTUHqEZ8CHM0QqaA1Yu+Dhzxv9kiYwTs3Ns106LEgm3MVXcwuPZdcjOFYIT1p5E2uaff5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5137 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769840017776981365?= X-GMAIL-MSGID: =?utf-8?q?1769840017776981365?= Ensure that all error handling branches print error information. In this way, when this function fails, the upper-layer functions can directly return an error code without missing debugging information. Otherwise, the error message will be printed redundantly or missing. There are more than 700 calls to the devm_request_threaded_irq method. If error messages are printed everywhere, more than 1000 lines of code can be saved by removing the msg in the driver. Signed-off-by: Yangtao Li --- kernel/irq/devres.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/irq/devres.c b/kernel/irq/devres.c index f6e5515ee077..94039a915218 100644 --- a/kernel/irq/devres.c +++ b/kernel/irq/devres.c @@ -58,8 +58,10 @@ int devm_request_threaded_irq(struct device *dev, unsigned int irq, dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), GFP_KERNEL); - if (!dr) + if (!dr) { + dev_err(dev, "Failed to allocate device resource data\n"); return -ENOMEM; + } if (!devname) devname = dev_name(dev); @@ -67,6 +69,7 @@ int devm_request_threaded_irq(struct device *dev, unsigned int irq, rc = request_threaded_irq(irq, handler, thread_fn, irqflags, devname, dev_id); if (rc) { + dev_err(dev, "Failed to request threaded irq\n"); devres_free(dr); return rc; } From patchwork Tue Jun 27 07:16:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113275 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8011421vqr; Tue, 27 Jun 2023 00:30:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5B0ViIA2khlHYhCLjHYzE728i3jUW82lKsU4QojtIS4bhi8WwVO6rqnKkldNd1MVgU+aHa X-Received: by 2002:a05:6a20:4303:b0:126:81ef:f1a1 with SMTP id h3-20020a056a20430300b0012681eff1a1mr6655966pzk.48.1687851046618; Tue, 27 Jun 2023 00:30:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687851046; cv=pass; d=google.com; s=arc-20160816; b=q3Oeb/qmkr7sNSw2i+Fhrd+Q+TY9Y0/v6m2m0yKvVbok6UJdpYGZnEFSg3frZeKffn 8g99COsGKZwPD6h4XtZ3LuERmZqpgha7Afe9sGG00P3jFFW6RdKFQOAYLNYVlaKJX7kc JdyOT1xnW91qhcOIYkvVX3voyLinR/JhrrDQLXiJY/e7ylFi+k5hTvjRqrPFFZMr5uA8 XLCXUIgkZRySgg2UtOsuvma/1tJW/j82bpY3Gja0ilXzHtx+sblFBLCzhrj/HDBR9rH2 +6E1mxL4gWDGlMs+WmAd5N7DZE7uORqSYGaBeBYblk//y4bpW7bOJoAq22rvR205tTOy 9Zxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bKSCwtpw3raL+I80x74ps1+sIAYiMdFVosX+0ajPZMI=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=bwcQlPeYKSwXGQ4paj3uViwlz17GPwTF3n0Ie+A/0DQxVAZD0pqeGSfvyVkkBSywJD HAKeaF+/xymx22qFiwBjNrfNnEiDqq1PXPMNXTPWPyttlns8ptMvCTRUAA67wuuIc9fL GUVrrGToLcd6QcP+Ie9aVRnqPvlIKOYSVjnxib7JNl8tpWC+/yVTCmxKrNpa156yZgxD 5EaOEcvk15f7cdwygTvXqY+uIcKoHOwCcWAzcpH6eVoKlggA75clH6OZKkncf6tusUh6 5Y30p3LD9HZHBzQznc7FACShf68QH/pdW5NZTmSInLQaNUJyuaaxsa5JaPaY0WmkC2AQ rDWQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=CbA4PBK8; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020a170902f7ca00b001b80bcb306asi2857201plw.69.2023.06.27.00.30.33; Tue, 27 Jun 2023 00:30:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=CbA4PBK8; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230226AbjF0HSp (ORCPT + 99 others); Tue, 27 Jun 2023 03:18:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjF0HSa (ORCPT ); Tue, 27 Jun 2023 03:18:30 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2129.outbound.protection.outlook.com [40.107.255.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95F181BEC; Tue, 27 Jun 2023 00:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+T0drXMnWBkgKTC34AquPqsw3SKVwnB8q8CvFKGkkzTJPOBoZIbutnIx+1GbrVqJojGioh0/93ekeu2DOc2QfAi7ysRdTQHVu/aBRJ0dEvBgqzkFpolq7//FCTBmY/yfBMwlGI7kSQ/TIOPBRuKTEdGxwvIu+E7wRQKZi74tkStlX6Sjs+qkb5eh80Ck0SApjAo3nSM5JrBDUSPhbASF5osRM37VrE5hkxKsxBU0BICI/CTdN0NBJ+I7hcO27xRTSGWvxohHcxfrYiVN+OlCa4epRxrns6fFiU2LhjtTF8b3Zdhf8JUZL2dMxvJiAQbeJhKWypOWo7Ej4pgtVGa8A== 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=bKSCwtpw3raL+I80x74ps1+sIAYiMdFVosX+0ajPZMI=; b=TjdFr68tEu5cQnz02qJxdC/irlgqYf5eR6gIe3KHFCwweJutjz6dN1jkT2aqgIHF7FeLIS4b4TF5xjAHhefgtWry3C8q6MrdCsbNdaaFh8JpZEhh63SLuWH30aaTrFv6KFfCgriME6DFj/34J00J/7VjIL29XKIlJ8gDT9uSwLVPLJI17kA2mEZOxZI70WfeWCt9nMjETROTvT+x2+PDHCLDGS7xkXTIoIm2DdAqW54kttTku6COsE8D00o4FyAXkFnow6jfjRLhuou60z2FfBDYFh0HHVU6mOSMbhlsjbLI0uw+pgOLqMYr2gbU6GxK+UuOIZSjAXLlNBqsu4Agpw== 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=bKSCwtpw3raL+I80x74ps1+sIAYiMdFVosX+0ajPZMI=; b=CbA4PBK8b5S9lXTR5zkxVZxOwgaLpA1GZ4zOu2ubtCtn4t4EYEJNnXgjDH+MsVYnK3SY5vEbC2wSLS0L5C0M/EM/b0B5JL3WlY0fyOO0QXbLJmJ8ljbdGl5M27baJHbM6/tCLiOJ08QAlW56Wt8iIdfSIVxTeQbotsGvJzniiHcHARyTMp+GjKd7GjQCBzgGwfpxHuIt3+P+Hwz165GDEuFL+jaTc+nC8/rmnW46zH726RmOiRQtmHh82PWPJlbfCLQDb7YRAp1czrIz1Ye8yj+q2A5Wn7YblaAA4OOHcSqR4eH9e1Wb6TueNZref5jflJKnz8/EeQynnn4k8+qILQ== 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:26 +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:26 +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 02/15] thermal/drivers/armada: remove redundant msg Date: Tue, 27 Jun 2023 15:16:53 +0800 Message-Id: <20230627071707.77659-2-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> 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: c2e1f1ff-0a8a-4532-e106-08db76deb317 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hjq9ZrtCgIHTwlYnuyhbpwmmX3Hy8e9jgMt3LsPGAohZbaHoDLGtEcnosuuTdGUFHMAzFXkyIWwj92VUHdB+q5UoIrPmRmIK1g85h0jsvmho8aXT+TshJ9VPAJ/+OeAQ8Zzv83W9I7UdwaT/uhWTA4gGfPUc2y8SEV29Cj/WyeXGaZP9IZ+T21ziHymMc0NZsg4Fx3NT6jeSYGU1xGjQ5zjnNZdUBkar452QkzGH14XlkHcqutQR30Zypmf23NuO0K7LjqWnTlexQ4zBNhQ6ACuhPK46zx1Avtc6X3xRdjP6+cjToFywROJaHRpCyl5T0cWq81E21PEO72D9OrAIziO2PB9QIWb2cenx/G8ddr/DmKasAugsXubWFJcw8ulcL+GICaigZCpzmtm9sTKblfW4ikWafQNZPBNxg3exsi0DK88dLv3nPQFGuH8RLb+DtCrJaFklAfmiuzBgAddpLi0AOmDIGOpsPjVdaLZqKVpvnAXXvLUb/uJdAuCLpoPKWYKLG6C2pte0XRbf6LPlXJIyuhcUGMwG4rDg7RVuhNGVpNtpQeHMVwcl7vCIcG8HS6zeLgV/fXan6uupstCazAR7vy1Wtc0ABHxchRMzeyqs+PB9bc9ptPiviHWTd8/v2NIBzNnLFENFkuG/uNgdsg== 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: G/alEVjG7EBds2SD9EQXgdQWv2cZCeZgCFj4/WJ7/PmsKAzkyKzQEwjW1vHKxGqZisXQ7akUvQAdmVFHPWcmn1qj2HUITRQ1aC4m0gRdwxJzBBtvn+X299aJUXCL+4uwyyNOip7+Xa5sZjcOPqliNi1FniDDstOYioO8KSelMdEaZrjp1VcCjPSVQSd6+8WaVdlg3JbW4GlNMoTm/o17ztKy1H0Tmry7YJO505Sid8xIDZKDpdWdGt35n/iDOtZ4n44tZPE4pqw4PPqWhvukLUqQBPxitbGaxMD52wldW/ubVZp2UNivXmYes+dHAShGTXwLIbuqtiMEvPSkbBFxU8TqUzx4lQuLpWCGipLzybgestd5apbqJDpj0oIRQNYMmmF25FempRKHn7J29QIlbuAnaj2t1O5cl6La78Ux7muvyiXEZgQ61azWFe+ozVSWvWI3DvB1EomsDfHyVY9eeZ7cqg90ogPyRnBZkEerPiOw8EuGMELxAQ0pZhVtg8st60ilTN/BffKFponmOAiVp+09sYT5oMQtMpARW18qZ9WAdhHkB9rv78gvmwWOXkM88Yhxk0T2EFnyR/zMf5V0+U9jcrKhwkrjtn/WPoaHKAvT5qR22x7w8nXO1dgUsTjUJetUkqKLrTSaYNheRw8kcNLYzfo4Gdy3aFv/2fLesUzqxrSRHs0skMx6F6Yl3kwyOywDQ+X+Jw1NMJzxJ8bDJ9LKKLPgi6VKW6BEXs7KdB37r12Ttg+ZEwada4kIm4ympd4ttBnJER7lbCc3iLVAhSAhuMVNmLh6jbptacjywuYheWviKVJFzFKb5rip6mc+M5ney9rSbCs/tWEFvc3aMMAFRFlCwFuy2OGp+4cm7yO3gK5FYjryCkrv2NN+NKN+z9BetS9W05YlQw7TGgbZat7pbX0JU176fbz+Yi31ql6z7l1r1Q794e/Y2yfQbJi9iFUmTt7qOiPNYgtqBCTJ7qd27lv70fufrffeclEqolcWxC/Hddhx1szqJ4SGVK0gFcfR3kmVv3edjjhUzVk2OBtk57xTkZlb+2snTvmtUKjlPQ9KD+Kj7HloXUT18ocWVWJSRy0TvgQSmDEG9iG8yuXCFIL9KcfC5fwCXC1sHQFSLINg2Pj/QudL4NhPU38UwhHfwBNvyIltQc8eJx1XGj3DzTD85qCaHWgaukuZ9LK+eB7NTHc+mK/KXo5wiigTIR6YhjjkvkhqJ+7f1X8Q19MqCqd/AnSfzMOqz1PAq5n/27vS1pT0lxEJU7MfVmLp3jrk60O/YtrjCpKlKhcwiCRKOkKe2rXeLdC6FHEbKOSwXgY7Vofp0TLKVy4Pz3mrNn2+BpzPfESsaaAxVnhMRV2hUFsD2z8g7XVjU3ZV05fiMlU6GuMTTjtbfdIKS0Vfmamvzi4Vll5gUTIBQalaNeDtKQADGqlFj3064e7pMhxPqJGW6yL51UpAqDbwd++XwR2R0elMgDMttCKyvakHvtn9UD9qY4OGFzkUSoqtixkoVk6A9T2CZWFDsNSyAVCMo8j405UVcoRj5rMsgyfSvMVbFJyoQ0u0tYkyWfQASjGuAVHUGwiOpCPWwc+o0+6K X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2e1f1ff-0a8a-4532-e106-08db76deb317 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:26.4364 (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: hXtJovZyPA+7fsFMszM4FAXRqiXCHulZLsisgZf/xVot9mwnTY8t4+kbkXujeuRaZX+JH6LifdbvuCE6PvMNEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5137 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769840099199044071?= X-GMAIL-MSGID: =?utf-8?q?1769840099199044071?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/armada_thermal.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 9f6dc4fc9112..98b04158f06e 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c @@ -917,11 +917,8 @@ static int armada_thermal_probe(struct platform_device *pdev) armada_overheat_isr, armada_overheat_isr_thread, 0, NULL, priv); - if (ret) { - dev_err(&pdev->dev, "Cannot request threaded IRQ %d\n", - irq); + if (ret) return ret; - } } /* From patchwork Tue Jun 27 07:16:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113281 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8016219vqr; Tue, 27 Jun 2023 00:42:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53wYCAsoIcJCZSUqWrenoSYnJCPoa+eK1+pP38z5abUWhe8i+a9ukx5CMNss1HrJQPZi4J X-Received: by 2002:a17:90a:6f83:b0:256:d4a:ea4c with SMTP id e3-20020a17090a6f8300b002560d4aea4cmr29370113pjk.30.1687851741356; Tue, 27 Jun 2023 00:42:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687851741; cv=pass; d=google.com; s=arc-20160816; b=XFEQl4wupQUkJwhnUXexh+AsAxmbUbP+izKGOOpsNNHuR1s4WBJS2wP5n8glBKndKl 1Lbv9+EVBDR97Sfk+ttVaPKUa7lhOzJchw7e7iontz8Yukml4+eo1ZfqesmN+76uYCK9 hTNP1MVqsucU4ykgA6rI4eXCjZAMXhPZNsDSFDoCVwHGR+RCv/4M2xJeVaXVbF07djmh H9sqWpJN9bQ17eYh9Zhr+sayHwxoH7WMKQiTDKrf4hIm/3k6Bxmjls89ZHKhcu1rQhtd DkPxgFm32cpuClImkcG8NvAJ7zHBinnOvqWP0i5dCcWfjB/60mPr/Tl1Xzxq53PovpRD UZfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3icIxl0tLCyJTjOBjt4P1sSfvXumBXa37u3dbHG26bk=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=E+3P39Wr8YaB0Kfd4lGYyi8VysYvinSclMcEkVK10G1JyukVUUpUOZKbU/L/ntVfK5 WriR1HQTWcozEAPQvD2nAvYMfgArFi3n9QR7pwAnL577uNqWFhikPIENR2Q1zNJLN+G8 35qn30ohWQYO4OJDaCFNeo74ISRyyO3I9NwZmPKI7bzadRrqfU+qn3Y6XU2+KnPiOQ+q N0JtvHQQrwXxT+GJBWXA59a6PBubr+awYNl9FW+yH2jrUj16Ad3fFHTZ2m4655FAIMXj 8eYOmfWkmpq5JnJKs0MyaMULewnPNEncXi0dKPYNJavEyZdfXlKuo3l9AcgytyG15b6L seHg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=BScsMsV9; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on16-20020a17090b1d1000b00250a2c9a793si7338931pjb.152.2023.06.27.00.42.08; Tue, 27 Jun 2023 00:42:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=BScsMsV9; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230030AbjF0HTB (ORCPT + 99 others); Tue, 27 Jun 2023 03:19:01 -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 ); 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 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> 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+xpJldhJvFSaWZFeZ6afeD+L2boZEeGAncnpN7nKH8B1yeSjPAkmbKpKASsi3y/8DKkSYqOyzmh8dS3bH9uym+Utyvl4S1aRYOX0yJ5g5/k8DB13ucTURzqZAy/KaHrFnLrmWM3pOBmD1ZXuPO8ubCM9Ws7LQw1PuHiy0emd3GVITjPINaiYWWNez/00Emchxj/YLaFcr8TZJPeiXTS5Sw7SeLZTtqqKdY7Mr9y5D0+jY7QXLEZ+zdN20m7QSDf+8Vz8y8VkAVsitpAIRY8BqdALERs7URf7red3FATBvJLpsN/sgU6rp2LRRWhpWPyWKS8mPRoxGfZ7JaS7HD4XCOGHLgnp7T06Rlmc96OPqIIKorfJ8vJZ52oNc9EXVIXMKg6UKWAq/d09dgNffMpI2/2OvT9dtZLK0K4K5b9B2VxYnwTjRivOXVfy5twKJAZMBaXHBgfxrMoRDC9z1Pntn6u7+ydc/T66/ZR7B1I57QINrhgnyvLaQ4rNzJRhsSgrYmwW2Htqd/xtXYxXmzrxz7PLL/aYB6xOvpLNG8IbNMwX2sEYfcBILR5o6jLG6IXAfBXsG6+8y+LaLQD9cdqqIvKbUABFieVSoxmur0LT1oOtRaVUxHJZYYj3Xcsbj0WQAkxmGC7K2jYcGWiHkX1MdBEFnXXVbnxNgWjy2+sXngwNn5tIk4MZEmpgcEZj21aL7fbskgM5MaWopGT7d0Rd2ic50a60Imk1yc3v6Kdly9eMVCVkEfSoJdZe9HK2H3QIhU5IpUQwLJMI2quD10gKZF0s8GkR+7CRYl/7Np7UlWJxSMMP5ubPI4xw1Brq11QHTFFswkrMx+4mIn2dLGsB9GquDQQKYGsXIvBJCKd3vyFMR9hTKP3of7GihP89E9Q5CZn/taz7sPnk+xwzIc1GS4RfZDEXwDmxuZbTvFqq4fPxBD0fz7Sx70GsmMmxQ58VQ/CWivArHBf3138Y6ccwRztuEDqtcf7gAZqwVoGFoKjplpsZqWjTa5QsmZlsTlUDAwQp7wV6mk8LHiWZnl8hYLCidRfx7/Z13VE28O5RrfH4CnwFUQm8F7dDJY4MIiN8cVbL80HtT4x8TFKK8wi/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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769840827426521815?= X-GMAIL-MSGID: =?utf-8?q?1769840827426521815?= The upper-layer devm_request_threaded_irq() function can directly print error information. 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"); From patchwork Tue Jun 27 07:16:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113277 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8011531vqr; Tue, 27 Jun 2023 00:31:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RPnVaD2ZAlv1QN+tPaBiRH44Rtm6lx3vm6C5YzLmTn0DqCYBTwFI5OWUnOQ1ksSrLTQ54 X-Received: by 2002:a05:620a:424f:b0:765:5560:ebce with SMTP id w15-20020a05620a424f00b007655560ebcemr11502884qko.33.1687851061073; Tue, 27 Jun 2023 00:31:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687851061; cv=pass; d=google.com; s=arc-20160816; b=z4TPkfHAk/8TD+K4orkC05VMJsL6g1UFQCMxBaiu90lBwzb5SQSqYYdtn/20nP+XzX AbW5mibsvS4/WaEs90NWtRgwmmB/D9EziFtyLQPV+V6S5j/f/gMy0fByOpsh+VZ2u3sC 1ow5TJyLwuUpSgQmrLOqjMf3LW95SyGPhAUCU6wOdMFmlIkhltMZaEl2UxQraWxiIznR Cg3ZYz91XojZiqvESo5rDkjipCWDnASFDYJll/xL7xOwWI5Mhpl/meUR6JmmpZ4xFRGd GtF+iMpyCs9MrxEtlPytW7ia1qgI0vAQJjHXOWyp1in4b187WEkfT9letBmWcU0HGthn 8lIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+UQE0AEZW65NsiV/uGAbT3rdeapcj3tNcNmQMa72/UQ=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=upocC0t2stt+zsJJlQyiKaNwSPrhGsaQTt4k1OiZZ1zrUW3HTI/qOjrQLNu0ez/xzT GEN2B9RCzvIP9mYguPUSzOnRO1ysQvRVBwtm6A041/F4m1aI1V2wLHiWV5sjanjfMLDq ua8ztCNwTiAxMZAj3i70w5/FcnC2078DK6QyFJfaVnQ3rbwWqKUjUtG9Ho4V3KCy71lk 6Sz+P0gqt9UGcs8+O+BR9SLl2DQ1pWfmW0ObbysLdo2lPCbKqHIFkCGvje/en42aPOxZ BxAIE6/FikH1YodF5tlD6g9jlUfCfaJk+hkL4HPZ9KmzP3VzO0hKjmMXryeJ3fVMRz4g TlAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=AAsvYOmJ; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x124-20020a636382000000b005533750837csi7047707pgb.681.2023.06.27.00.30.48; Tue, 27 Jun 2023 00:31:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=AAsvYOmJ; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbjF0HTN (ORCPT + 99 others); Tue, 27 Jun 2023 03:19:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbjF0HSq (ORCPT ); Tue, 27 Jun 2023 03:18:46 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2108.outbound.protection.outlook.com [40.107.117.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F5731FC7; Tue, 27 Jun 2023 00:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l7kLW7UXfNulr2B0Ds5YJTJiYVSope4bkxdLG4+9XREnoxHEZ+AooZJ9HVhrLBlDwiETGSiSR+stRgfQiA0YtDGClevg2BrMEuOLOMN98LvbNwk4ABvFWTYc+OyY8FI2VcENdKZn99FmIGdKPzUJ5WHt1l0pu019SBxyJXMIlEl3yWaQeCX2gpbDElf92TufY5eOPxAxTEijwsMDnIr5JK3VBrvzLmlDL/wMbr9rbRN9GzZws+I7MAa9Lp7WiW9KgGXbc3pX4pNhorU5eu3eOfIOtjogZR1XT6riMfXWYlFABdHa2AjnMKvIp0S62k8r/g8ZzLmp6+6kK/K6hTqU0g== 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=+UQE0AEZW65NsiV/uGAbT3rdeapcj3tNcNmQMa72/UQ=; b=f1exNuxTusMuOgydFqRp8qFZ5AkYMDdAKO/JxiqW4g4U9k3Wz3W94Td/Bp5SBQt+y+gSPzo/L6qNGqCSaP/PlWf0sBR5zLxvPYsXpZ7xybati/KWlR21iTnzpRSuKaXYWbD/jBsNhKo4AmfIMd0nbkbbbkCYGVVRBjzJbvr4mGTLIemmPmojczeQjIdWHs4d2SJDRl+oXfgWuYa/nhPYUAKNNiLlFM3+0dIYmHQRv5w351BPsmujEGaGsoGIWHSGTTsforA7NvpbDJSrbfLUp32/hDManxzSlKV8CrZiAhhNmEwZerUS0gmyYaIH229U8dYzBv1UkmtEfWh/ovopBQ== 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=+UQE0AEZW65NsiV/uGAbT3rdeapcj3tNcNmQMa72/UQ=; b=AAsvYOmJwScj3mqydd9YQhFJ5qSbpqO894QCeNZFlhDpDVATliPhsSiy5gtV6G6PU+YhgTQiy3MFbZz/TswNb+gd1/GgEdJ8PdCJrByp4XSCcxDGsZKEqNrGXasuTYIQS4DYGO+sBQ/urMG/6nLqd9tP3ycls0VPBtCZq+MqKIHIP3RwSxHTkeMQIEmgnWTRBF9MGUmt0ERqrV0xDyMeZZIibFVCHxOkFg1E+J7ECGvpkm4BCMKgUgN2PknkuErqdIL3uXGxtl99N/XcvuvxWlZVFiE+5JYHgZqDYgUiX53ZJLh4Peg9wMUKCCdr0YsKdmltSGGj19JbDC2yGgqTbw== 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 TYZPR06MB4205.apcprd06.prod.outlook.com (2603:1096:400:2e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:18:42 +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:42 +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 04/15] thermal/drivers/db8500: remove redundant msg Date: Tue, 27 Jun 2023 15:16:55 +0800 Message-Id: <20230627071707.77659-4-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> 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_|TYZPR06MB4205:EE_ X-MS-Office365-Filtering-Correlation-Id: fc486a99-0481-4a63-5076-08db76debc59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WluFfQi2WYlUQ/YfjSjRzxIZK8ZAkPJqGH492xl3B2xRt7zf+jYexh1ktsX668vj9569EH1MfiLWWPuXjctDmu3BpxdT+xczXnI/kPwFfnhggli8YI/Jm7js2clm1rt9L7/pE8FIdas+kADT0sCYfA1rUhk6c7gTbS+C4JWpWbPXn2RpsPZl0aP/+GQumcpWbQrOIev1Sa7iqE6qBOlFHYZ/CQRsryXOl9AeQy2Vc0plrkkZqWnYPh2wsDNjLxDPLvkMyGFLDuOSUUwSTq6/FczaNPVC3FaMxn5p7I1ZdYJXcUX5UwxaQBprR72TuhM95RQ8CRN9TBUe19nB3zDaUZAwYf8o+YDVoDRNXpTdZFSqagj2vI+vmJKK5skVt5sFXnJW45BM5I1WRuZzDssQQEDVNj88Yz5xlaBY3okbjmVWSXRKnFcIXpk5/StQRy16Y59STd3kZdPzQ5eZyFbe49h9z/Eb0gvbH4R97wyhhTF5QON2+1bNMiNc37mqXQEzEePFlOLvgLQGay+H887PVrfnvIV97Om0CW/NV8TNIuPlldQqiARvzyJnTbjKa3VnsNM06a4NmFGC7To+kOgjpl5972L1gthFHVYCiWxdk4mm68wEwtJLot5o0itlveTc2EZfdwjsjxKtMh65jkcufA== 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)(136003)(346002)(366004)(396003)(39850400004)(376002)(451199021)(2906002)(2616005)(38350700002)(38100700002)(921005)(83380400001)(86362001)(66476007)(6506007)(4326008)(316002)(1076003)(6512007)(66556008)(5660300002)(26005)(478600001)(66946007)(41300700001)(186003)(36756003)(52116002)(6486002)(6666004)(8936002)(8676002)(7406005)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rRS49Ydsdqtvt7Q+UQWT6QSxUDmYs3WY/BEGsLfx+J67joxwqJhHd7Xe8cQxDp3WQuHFGwiZbXkJ1G9g0rBNvhHfPcr9lB8tEv9gT2BLmol8MNuS8PrA/f4cjC1KQFYWh5kXwDCJIO9Go6bZZ9CutIoBZtepytZV8mmADjk63vAabn2Lj8VB2IHQ+BPyFBUroCLeJdNTTlIgYNIA3vRwLX8X3D+cW1c4LQWu07HSKqXdWM7H1Iw03yFWYyhSZLAXGpGic/S+MIOLVsvO2mrzRfShBTRZXWkuJ+r+O4UC3W6qbXlHYOXYGRV4+IqaPt5G8xkeoiD8YbW7LkPzNoZ4wuYgXcXcPHPvYJB2Uy6o1ai5Wc5ma4LGMty9mQz2ztq+kyiGJNWfBd+fna0+wOhdpSLQLRjye9vrnF3qE2yGCVt/OsTFFQZbDvXI+2OI/g66HfmmHhK9cvZDxdR2VlP8FtIYkv6wumSRyeJ2vGVZRSUzw3RbZoGmVM39I82LhFgpw7sihC3/Hgdq7ZvTb5tMw7XWoddHig5UyM2Tm2TMqLB/tu6Iw39ml13omS+o6ZckGsinZsCvj6Q/bX7lNjRDxfliIZlzg8JWoys18PZB/3LFtBIFrMNrcL1rYH15R2Q7yF3XaaqA0eE6blZL4XqnkmvJBMyG9F48XXLy1xY3vHhTDR/ApdS4vujRgQQfgaCdTA52ncXkt7GRMnmr1rVjzRQpPgPpJMqYrjHpk7+F0BEbwr470weR5D26J52KLHlDuoIaSaio4Mkgfn7U1ptXRcBR/ffuGGjA5R3rvruInY7DfESXve2ppz1OMQ+1nrisI67+JN9zZxkht6gs0a2IzEnzkBJBrRwFnJchaIVwjF07X6Zzrp4Qk2tYfkPINSkMHCsyowIMSj8bkCTg8Kv0ClZGudCPiBmRcXD/uvNvjJS8DE6CSfUNty4nd7Cz9oZUwrVe67FWjrT0eCqJcX/riKtJuahM+Z3tPpaXe7fBTqCYwoxa2MFqmlHqc5yOPcSFPfarsAAG3yw1/g7my6JBp4iYrndeoZK8cmIrwJush7Eh9am1DcryzBCk/S/Kesr4ySE7exrHmzOQyorn+wmZBCDi6adC0CDZGHlTpYyAufU2mKgWV3HpOJyZrQrasd8gcuG5I82ljgnXGD23QEvi5Ek/UrS0pX3Pjno+PgSMFFvmurSBxuVVHvtL3WjwmH/+5xkVx7hfbzxp13F1ZjchUVzEghht2wA5D1bIS71nlDv/7nttN4xKBaIgGwqeJpVegLsF/lH5LfN93xs4QI0FjgaM5or9CxpZIsnI+cY5cPW9ix2bNbquEQAef3cgVV8UpakeeptGOAHuj68E17Z2cxbl2Xzh7gXaqj4WNS0w/bbz/uqB2Jwz5kUwROWd42Ipjy/lYmKIIJyKxwkPr3q+fqy9NwnviQ+rR655EmyxQh81diFOKCyuBDGIkwy6LNevyszeLGiRMUBXEkEaQTtJBViIUpj+mDpxo9lnXQz09xMz/5agnuiTz9f5pAqtHOSflw/YX2kYq0LGSxrXnWO7CKEeXAK7IvzWCxNIk8V0XmtlFPWI3idmyRJe17GlaoRX X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc486a99-0481-4a63-5076-08db76debc59 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:41.9507 (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: iHSnfDsdRVpSXx/PKVtQO4C+8q8RvyMfodmdauwinn5n6rVv/PybZy9cRUxSJB9zCuA7TIT6EBJwTgn99Z/YCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB4205 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769840113989704674?= X-GMAIL-MSGID: =?utf-8?q?1769840113989704674?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/db8500_thermal.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/db8500_thermal.c b/drivers/thermal/db8500_thermal.c index fca5c2c93bf9..0a890d1338cf 100644 --- a/drivers/thermal/db8500_thermal.c +++ b/drivers/thermal/db8500_thermal.c @@ -167,10 +167,8 @@ static int db8500_thermal_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(dev, low_irq, NULL, prcmu_low_irq_handler, IRQF_NO_SUSPEND | IRQF_ONESHOT, "dbx500_temp_low", th); - if (ret < 0) { - dev_err(dev, "failed to allocate temp low irq\n"); + if (ret < 0) return ret; - } high_irq = platform_get_irq_byname(pdev, "IRQ_HOTMON_HIGH"); if (high_irq < 0) @@ -179,10 +177,8 @@ static int db8500_thermal_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(dev, high_irq, NULL, prcmu_high_irq_handler, IRQF_NO_SUSPEND | IRQF_ONESHOT, "dbx500_temp_high", th); - if (ret < 0) { - dev_err(dev, "failed to allocate temp high irq\n"); + if (ret < 0) return ret; - } /* register of thermal sensor and get info from DT */ th->tz = devm_thermal_of_zone_register(dev, 0, th, &thdev_ops); From patchwork Tue Jun 27 07:16:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113267 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8008706vqr; Tue, 27 Jun 2023 00:24:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ68vDPY86DZ4V8EpTaMcb5RReE3eDiNcfKazICTh+ars3S45Xl6Vd49T9op8Kr/cpEx6/J5 X-Received: by 2002:aa7:d988:0:b0:51d:a181:d78e with SMTP id u8-20020aa7d988000000b0051da181d78emr2174875eds.27.1687850650897; Tue, 27 Jun 2023 00:24:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850650; cv=pass; d=google.com; s=arc-20160816; b=e7vZAuEhAiVUVAGmjwK4ObrnuJ/KsfEYrzE+bb9pEC6UkGoLleDrfJfXKVu5qialBB K7qvMNdSs/j8Y8Wf+rKa5w7ev2qO1f6sp200rTWkrzlNtJApsSDAWzuq0swR9uTkvxPR LqUHG/mjjrzGDyFtcXuYdufo3glZgavV+u0mmem4Wu4frxGkJXgB5JdJKv8hO3AYQd28 07EcnNbpdKggk0raEjcyDmwJAaQTKWA9iPSaqeNuOT7r4BTE1t1CEtrvzwDYUx7nqkPg YGQV94zfTX1dMPc/Z4Bzo5xL/3DIo69ugFLQNYhT4po68vqC7zfRmil3kkg3v/x4tccE NLMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cgjEmSp+ieGa0pEFqdSlTF5vo5i8gyOKAdnyG+rtLsQ=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=j08K50hlaRbI6XM22+iUE7tcLF0kFeodfs37nTm0XgtOYoRrckY5OJVn5JYQzUenjJ THxyTRgtXA1k8Rg8CZajuMVBZDgzFTZBpOWSKInBUlgaU3k/A9CAnR0heRSHz6mYuT/J YBOslKXzamQXmwtLsZ7H3IR9c7bO/qUf3CJbYTvqrhpFg1698G9Au/pQ/piDjFEwnzKo LQwMhsw8UWwwXenOnEM7ag47Wm53PnimMbcqAKIvWw4ih7TMHQ2/qnL+Odd+GI+I1EQa KoFTJCXX3FP9+VNJI7Ws2JwVWugURUXNpNPpAoT1kxj1MWgFMQ2bh84/yIfWEppiBCZy gkkg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=QpAiXRY0; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a056402160300b0051d9a7acfecsi2027538edv.575.2023.06.27.00.23.46; Tue, 27 Jun 2023 00:24:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=QpAiXRY0; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbjF0HTQ (ORCPT + 99 others); Tue, 27 Jun 2023 03:19:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbjF0HTJ (ORCPT ); Tue, 27 Jun 2023 03:19:09 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2128.outbound.protection.outlook.com [40.107.117.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DA951FD6; Tue, 27 Jun 2023 00:18:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMCJ+caHpxfWTfm+5/pr9q6IDVhYyeKDGQzct+CPj0ZlJQpacMRaR4HlHX9NCFp9MDn3fErvlspC8RgpFYuaNOY3CBesrvgXywVC74mDgZ1wuOKQ92ERJmOI7a0q+flFBcrMFhDdqlO+GRmrFIqn3qgrG+E4pJe9OrmyNzQW9RKnLCGXAkDai6j3tS2UZ7iMEyOw5zERXNHDI6VCbSX/3E8LrN+09B5T/uK/TQbh4OlCBlQH/UDpVTKwmXmUlpF9loe7ESVVCQOQQwfPiJSvIP3FueWBvZjse+n5H+ZMLwnBNvStIM6lL5UPtnvCdtIp1B3I5hohSZfqspx9D6nyNw== 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=cgjEmSp+ieGa0pEFqdSlTF5vo5i8gyOKAdnyG+rtLsQ=; b=n6wFoAWwUmAdUJSCD3Wmwzb+C5EGIV/WRplDGyUxArL6ICfoBVXB9vWiDe0ZbYWPehXMFxXuq5qlEGCmaRscJrLV+ksZrIGtY5ZH1x+geh+6hZYwqaJOoqhE5jv+bNBppzGOYMgHJ5U5DqGcKS+wd5NlYD4h818aaUF2FvkXxbEhLEtSm5WIMKqbCmG8UfooWkFn/uL8dUyaDtWYadbSn125+1XPwsHJmhs0N9V08xgFiZZ8HaCtPVzfW6mT76GBgjjlBKUiCBSfi+xSdUR1RsMgTQ8vaghj0QujQy1rrQkcRCMfnC3Mvta/Az7ann7VlfqJa4lXUnuVP/A6BKOMgg== 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=cgjEmSp+ieGa0pEFqdSlTF5vo5i8gyOKAdnyG+rtLsQ=; b=QpAiXRY0xievsedZMBpYFHPCZVS0yxKLojfGo+xxsQjpbxp4mmDpYrxEeQqnIdam3HMIujZS/jkwwr14Dn3pFVlkd8X7gjU8vEmuX8oEkV45/3MKi6EdMoZnlSvw6j+F5p1YF/7akzaB/ron8GIn0tlSvjB6oYPTReKTYNRGYWjuIekOhKpJjGLQt5pgsWrYIZnIajJDfOXS0mxuuy8Tr23tFpDu1++psbchWjBhTIg/vh0UAlM4Y7g3DBqs3mRJ5/is5sX5jWoKxiFRxTILkw0UilRm5yymij7jjflK1nvxyNmcQjDOwGXQfMX4SYRqE62beSulQnUQ+GIu7lwBrQ== 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 TYZPR06MB4205.apcprd06.prod.outlook.com (2603:1096:400:2e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:18:49 +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:49 +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 05/15] thermal/drivers/hisi: remove redundant msg Date: Tue, 27 Jun 2023 15:16:56 +0800 Message-Id: <20230627071707.77659-5-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> 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_|TYZPR06MB4205:EE_ X-MS-Office365-Filtering-Correlation-Id: 75ca1366-4b6e-49c0-7303-08db76dec09f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nppBnbEXR//jVNftlJntJgDik3eh+F+FoDdRJ4XTqONgub5ltMO94N7uNOUE1SHs543IfIBM8rZXv5OVUffM+jA/9+6dxg4DEdRc6IRmipPxJN2mxVdJ4FDpvS7DI0EU1i0YuDrZLVgT6X5tRbOlVojCqpXWkZqIeVqB0l8JjeEILnv+guFwZLFCyq0dDkYZnOsc4N4wLVbKWd60T5HEZ0OEEoHL78UOCNWo+ARut4DFmY2M3NbOnQhGuh6P2+bmm+sngdq/v5HK8+rfFUHW+jQRv1vn4U3eHe1It7TLcbxWpQsSKo6CEVioCV98sxmHogSA780jtgltMLc5+/wWdgIokqNGbwiS3QrVsrMj1UKKtBHZFKQVInCDk/am15+uh1ac6jYuHzDO5R6dmXEhpodxOyqrxgDckGOPsOtFpQcp+8mX1RK/smpgMPr+ZhwLZ21C6+kxvZTsGPVddw+jiV1ZwcjsHGOqmXGdkmjcipnH+0jOPaHMxXOsKd/zHt6EgDAyoIPYTycwgjtdhIUtfrH4/xsls4QZX2R/ENN9FrcvPrlYaHKjrYWsCXSC8actHznXVYNhQc8T/iXhrZvAh00Qv/tSr6m4HQ8MWiZaVYoZDw6fiWyT+AZ7aor17V23Emi0dRZJQHetfSxGFc3dNw== 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)(136003)(346002)(366004)(396003)(39850400004)(376002)(451199021)(2906002)(2616005)(38350700002)(38100700002)(921005)(4744005)(83380400001)(86362001)(66476007)(6506007)(4326008)(316002)(1076003)(6512007)(66556008)(5660300002)(26005)(478600001)(66946007)(41300700001)(186003)(36756003)(52116002)(6486002)(6666004)(8936002)(8676002)(7406005)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: i1A/iIkbJke/RDU1I1EtB6pxtwH287a8moZrZ9u68UEaKkcviRXJGyzowsQ4zvgn4iQXdrB4rXk1aenxMgbNlAmvnhzxxzUdCOwyVntj72atTQX94IZ/+zb9tQ7QGsBb6uk7DVboWe3gc4q9EiI/ATLHyoH/g0kb4vKFJ55X3X32Qt6A5JDtV/P2KWcFXzSUg6gEIMRY17P7vHV5aR3Xcn4xufKsEPqgRBm4G29AClNYJdC1Yu0RMVkrs3kTwWBDgzrlxMYGYkGu6VKcZRphdXuPLztLn2z43kDFsMPYpYN5BPQ1SGmcj3E1sOM3Hj7a8gt/P3Ntjv/PVu3P6mn4VvGEpm456N5R6nLXbKwJHBSmBZxblOnxrgwVgAlV60Uzcdo0/KkLXSGIdmT8X4dQlkfAQkcN7yHyVfACWhbIPwT5rhR4P0qwAoVs2uFCsa1hUFxt93VAuLVxbo88wogfynl4iCNGgeJ6UsygSUETKtdq3qlFdlDFX6kJPWp25hxTowcQ0AkOZCJTTbEDz3fF/iDyjZuatabZst1ARxPqjEutRHrk1dWFvTnsnJTMJp9TZHt6uvNwl6Y4+z87AAhYhc4HVWfr5oqtavoxJbfPMAzWtrKqrUDG3lz3ozalMMKUr72RWbHfDPCDW+hWvk0kvxSruwzksAEpW5jlIFw13yZP4QlkKp6hNAYKHdW60EMJbbNzVGYRBmNMiWlEpjzsaj26cyP8Qw5nETmh78GkEajUZ6L5o7Ak7TYw+Ssn/P8rh2Vnj2xCi8r3AH46mueKsic5PQmdW1cAuEymNHq7AwZyP9rquTkH/VwDz9xp+9LNATfRa3sPwlvY0aVvE4wDhG5M+xSl/2i0F0l+cSygww0n4fTGZ7ah6y2c9vXc2rpr2PCFdoV6j7bqT4q72oRnLe1qe1mkBg2jMuGfBEA3nRWdeXdOoHb6xI3unB8gSIvYEJ0cRs+91HbmP1MNBoFmkra2AN1MG6hM7qNRqDePFf1ZUGMRWSvrla1GXgNxobr5IcCklesuBs0z4QFDBwWCFrbTZvxuPF5m2kSGIQi6uKU1WnCFbaAshMm6yy8YA48q3SclvZ5GS3pe4lTH57l/ECTNp8/RTo0recCSUkdsrC76cZ8PAcwHsaJP+fBSSssymBhl6gNeQSBFGuFIQkIC9lEd4pu2KLR5zzvHpv/UxJINZr7AUQblQ0qRN+NJ0cDUBvnCw2rHGnGytbX4Z/gRx/iGlRsOX+XUHUf0V9qGC8bt2dNl5pi8j9z/Vx3CFoLS0quEcoo13c9c48ufhh/Yc/zHSz4UqKH/GnwPaZlmzpLgGqBeVpb3Xvxu/4QQEZfpAdoXPJOmiZAi2xyqIVlmcLTniQKB4yHWuhLz90S7OH4wpGlF92NgYQKmXvrxBKdeCypT34gPNN5oLhB/mdK/vUS8FLmVZffxWQhnACcT/mLCiauLb5M0ru1Vc22x0t9UKaP6PtayHnC7PtxQbY41ZHFWdhCZUBV1xyz8TvtsCL1dsf9ozNohHGJsrnOcTSMuzhyuDMjgqxLF9lBOOMM9ZblD59W5v4bFqvj/OzBFoJ556URGkrCfCOGUIGGC8Hed X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75ca1366-4b6e-49c0-7303-08db76dec09f 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:49.1392 (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: 45HxQybYtLOetkzEyVGUCOY5R8r2gHo8eVmivkD5GLJKhXgpFzNqi3wfmUJtfafrXd2Nlxemf7Bt8GoL7PJo3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB4205 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839684113323122?= X-GMAIL-MSGID: =?utf-8?q?1769839684113323122?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/hisi_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_thermal.c index 3f09ef8be41a..5f20f07a7566 100644 --- a/drivers/thermal/hisi_thermal.c +++ b/drivers/thermal/hisi_thermal.c @@ -580,10 +580,8 @@ static int hisi_thermal_probe(struct platform_device *pdev) hisi_thermal_alarm_irq_thread, IRQF_ONESHOT, sensor->irq_name, sensor); - if (ret < 0) { - dev_err(dev, "Failed to request alarm irq: %d\n", ret); + if (ret < 0) return ret; - } ret = data->ops->enable_sensor(sensor); if (ret) { From patchwork Tue Jun 27 07:16:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113265 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8008559vqr; Tue, 27 Jun 2023 00:23:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dz3RblK/y4/jF2nx3zAsxtWZ7rV7e4rfZB64zpzlyoLIzf4WMtoBjUYaDoW88toA7Tugp X-Received: by 2002:a17:907:869e:b0:98e:35b2:6bab with SMTP id qa30-20020a170907869e00b0098e35b26babmr5548731ejc.73.1687850628922; Tue, 27 Jun 2023 00:23:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850628; cv=pass; d=google.com; s=arc-20160816; b=DfsKEz4E1XgA+VhYcnEIHynw1tCeUCxGjPXtRionM0AUc6mVe2X2a2yAVcSN2Hg6Q7 d0bYzMblq87AA7b5gLfuiS3ecZIQANzm2keDaaUxo/dZSFXHLLSbamXjMEqt6QcvK+K8 ZiOeTpYTIOhZJVyGxOevW3RtTCgL6Nh4rBYxwcHb8v/FG8igeMkzMd/cSakPh4JNT/RJ CFE1L7TD7QyMoRmuHQggN+Z2mL1b6bMwiQKH1HCAivNMS8LDpgGbfjJlYssmuV2w12oO CfCldGOL3glkxWDTyOpMMNPS4G1/rVRjdXxGHLLo6cqdeMhkOdUuRph7jf9ZDhoRXFBn JdLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dCMta2R3xB9w9VP4jznqu9YtYOEgHW1qdHG3TEuTpe8=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=J/O65GLEKF3FPMtcnIIzZF2PSubyJ9duAceAEVGrAhqvMW/gTQnNAvADinzAPpQuO3 nMCIWeul75hJCtOdemI54R11UePnfQamfENEDLD5r3kUsv/Lzf4n571X54ghQaoJIa1S 3Wk1I/heVcrjnwuCa9KuCnuAOBAjnX5sI05cucM4POEXyzkT+Gp+P1UWzmE9D7V/zPWY CTBG8lUOpb/1F6glI8s+26Uk3xViUvzdBXr8xDKsECpT3bHZ8N+h8Zd/lyMR/XMJla+2 hoN/dYEsXOaiG/enYrmt/7CteUYMh4ISPYQNW8kHNwuXJb787TNB6YgsNI3tJqJZjpAg 0j4w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=cXfcYDyy; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a17090655cf00b0099233cac11dsi155252ejp.918.2023.06.27.00.23.24; Tue, 27 Jun 2023 00:23:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=cXfcYDyy; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230299AbjF0HT0 (ORCPT + 99 others); Tue, 27 Jun 2023 03:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbjF0HTK (ORCPT ); Tue, 27 Jun 2023 03:19:10 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2097.outbound.protection.outlook.com [40.107.117.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28C351FF3; Tue, 27 Jun 2023 00:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iSywtcA0SeZed3oChKoYnS7Ni97KCR5EDxnkqAAlf9jtKHhB4jaM5A7CdEYqFjbODBXz9BTZQpUSTqV4vjcK1mUV+uF7fBzDsQfCieX65eXIcItGACBVa+drlF9twId0pPcZ9wpyyFpUiaQgfk2LkecTxAtBYenA5kb8sZW0qoIa9w6USaeda/TDgXwtNvcqhGjedWL8RutB+cnFHWGhMkUsqyIzusyA7mqvJvPG8LMeuyqLl1ifTvLpXlE5QWQVe3fLg0ZXYsQtybHaNy4gZzobGlTj2cUTDxJj4bnjxedaKPEaovXsGwxh+WFMEQEob7qqSoAjYDiL7lHjCGoIOg== 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=dCMta2R3xB9w9VP4jznqu9YtYOEgHW1qdHG3TEuTpe8=; b=OdTuYv6biUq9mOnkhSNDLYd7dzxxnj16H4DDc1Z3JUuTu9aJeyAYsMCUVfx5MlD134dzAZiW1II0/89XCzDNuX8JY4YQgJaoYnxWqE8gYj+pPySju3/yVghBN312LwPeBZmonwZSAXMpMH129/+H/6c6H+RIHoxys1wRq3tW10iAdE9dNO4obvETlNkR8zK2EOCYnnxTF62QXXeG5sfmoL1wqax2sMyiueYP5LrTVd5h905CliRMhHWf5IH87QsbThn2Mv1bGDIKmwnaGfpHi7d8MIsMeCEqHv7oCNvERtIZM0CXiQkWjgisPSN1Bye3rHchR0GsH361gT/1FkY9EQ== 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=dCMta2R3xB9w9VP4jznqu9YtYOEgHW1qdHG3TEuTpe8=; b=cXfcYDyyHeQPKkBJI/ad84YHNJ7iKfelW95Cu3OfosiZid1vhpXiuUCDtzZpgU1RqtQzivs0DIBcpOEfEklbboQ7kmDf+srKtaxt5BcERIx6TRZ9GOPu6IQUdauOVUmhJpzchmBVziPrDpJt9j2onNmRY5HCpGFHanXbJ4XpvyAWm0ZZtOcyI5yA4u/OuHuyUR7GtZGX6d47MjMMO8xSHXtrL4iXfnoyFKr7hxP58bLuav0qZyX5gfExLvgJ0f5bi3eI+kfICdpMQLezVNZphYzm0e7gX/EABI5RfvIRWzHuOafn0YdE4s9Jx9YtwwbCsG0bALmAZR1Lqdy2W72WBA== 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 TYZPR06MB4205.apcprd06.prod.outlook.com (2603:1096:400:2e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:18:56 +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:56 +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 06/15] thermal/drivers/imx: remove redundant msg Date: Tue, 27 Jun 2023 15:16:57 +0800 Message-Id: <20230627071707.77659-6-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> 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_|TYZPR06MB4205:EE_ X-MS-Office365-Filtering-Correlation-Id: 55f0acac-b30c-4d77-574e-08db76dec509 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Bh6sBU0+TsZVMSI5tetniLfCNbAUnFEBzAhnJNl/Qv2djq73lUxjR2gwqBwa/Ks5QPIjPKoWo24dCW1x4atkDEKkGyugGQHOBSAL9oEjKJV8FNtlmfuFzUKhiRaoLeosZ4bd39mK2Ts5JQvN+Sxxx/0pR01/YfyK5RWkvimNHfhFvCfbWlv8m7bHV1DqVyakBte/cbhf/8VLWsji0cOjjnOrR0FdQljH/1TUlyk4QVXLQ5KBvl6UmmphE6+ke3+qnuXn9fNe8QHJlGLyv7a28is+/A1GQ2Pro7FBxa7kvibeucawqDmF3isDB6EJnHI9QFNl7E94QPR8cugEmZD5Z/lfk+teidn+euSAFpvO7rLQEO9BQCHj5nB3VT+js/hjX8yIxt7IFkQXr9lF813hZ8Rf+IZTHYqD+AeJzQ8PmB3N7YaTrGuYSGI51hTDO6VQjTXSUmKbbIMT4x3+hhgf8QPKz5//ZVDW9+vmjgALmKt5MaR6iS9OnTDb0x0EwQBz9qfIWga6XFmD+xXFO/5SRUT5e+C2Jv40vfdP3c+jzw1OqJyC3tKFTzaWnduJws1TGdZS46iOVvyMMRKuyPu9w8c7QvWgg6EJwR4LMRfwkup9Em4h+KEyqfSeGGJoEr/O5D4zvbdyWjf2XHe3kyWJ+w== 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)(136003)(346002)(366004)(396003)(39850400004)(376002)(451199021)(2906002)(2616005)(38350700002)(38100700002)(921005)(4744005)(83380400001)(86362001)(66476007)(6506007)(4326008)(316002)(1076003)(6512007)(66556008)(5660300002)(26005)(478600001)(66946007)(41300700001)(186003)(36756003)(52116002)(6486002)(8936002)(8676002)(7406005)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QnBfnhV3lo+AZ6q83ZUvDNI/dOR90Qyt5wKWCerJG43hTWhvLZXch0KEyxM0UQGkwLQtMAth5QJqLGpVpIzCnXqDBhxncf0T+ueEDXp3yEuudE1tDpTR78RRJ3mUeJzBba1z02PflfgbyqXLOBDpNw+IF3VkJpBPwCE6+EplUELGXlR815b8S195kbt3t4Du9wyMq+pIKtAn4YOyEl0hWr3+ABVuacWWZRHUv3JYBq6RfXmIcE4HHbaHFqjny89Ug+ojelDCvap2yAYsxm46oNcomBFaSJFzwArQjJs6BXzvushuvUwe95aCRXWJk3YyY8t7z9ztFXHvskLszCOhlzSDVCORyKw1pYEs43135OZSvTkVWxN05x0r1wVrDeSNJIj3q6rM7BOktWPWw7kZq9vQthck462vIxNY8T3Z1rDO0I99ZZj44UeMGQkttnnl0Xs5+w9TCOY62wwBE0a1iqDmgvqCkl/BdTOfuie0qCQP7krGJBvUpiFMq3pdPpz1cesPpT+VbaeScIAiqEo7M0/UXTKJWYC99pWxvyDgQsWvCLgi4wwAYekXVGxYRlYNzobiB4dFhHHseInTIiXOG64SMTLSrfETiM8vjIoSvcAdSFq8ub3oYn2fuuve8HU2HLOOHEinCQHlWVLVTc8FF39PAvXbzc4qHKGl0b0sysyodkRtHurVCvE2roxMm0wEnsohwu0Qq0n30PaY3U2rF2RjN1cjXJRSKSYzZeNtQaAwUB9M013Zv21l7vc1bGBShDBxUoQilP+Horx3mLinGORAS6Q7VhQpN4405g1ytbRiM2yk1yv2CCD5s19HwKLw8rM5fhiWvS1fPsVKx5LWZQDyfIzwQE5MIxawyJ5fKV4DJbEseG0/44q80JEnXrv3S/jksLDzyVqsQyf3Nwe0+EIBlma6dQRm2N3iT/Ok2qMC20jrDV5x3VKdFtS1kLUESrngEMFhaQLe0cUEuTQM4H6u+c8HViXaHZTW/e15tLWTs7jyCPRy8X7RioCA4u+FR6iHq4zp56XsKbUelzOtylOc0bhFvPnc5EgSQh0ZPiLF7QxeofWtjviyaHOPxPtNeOcja5OwLZIFAeu2y82uVqvP06mCx1bFxbpFNBn1UDBRTbwchCuO6z5VJ8RYpcKSxN8JiLMfUkfJ3oePIQbH+JgSzd4ze8cqzT5quLp/yoHlDturiZzhK+7dAPrzAlrM0VOYKtf9irSyxgYxtWR4nGhDgWB8v8r3Wmx5QCOg+IcZqOw5DXLtZDYEHXMhcXVd1jooCd0CTq6O+YTCfizjDcUmjoA5dy5nt4ogScPNyaGf7dUhYZtT8ZZBRJ4BktG8hGK8o9rQhfz3LxtoJMHTaNjiWsPqHqigf2xLASjrSHP+PYzIB2NqKJMqbNKMhBIzb3hw08F4C5xBWHkX5BEaNSFZ9PKIh/9EC3tDtiXukZdIQKT8DxGJZBJxIE24brJYx9IdVSxcEtoLHj/q58zMfHBmAVTtvgN9uLzukz1isY+0zNYp7gYI4AbnTmWwaCuDY2jnlwoV6Eg/PDI3qOemdfDStASh3ljeEKjDDvXMtknf8NTr9kIK5BxNyZpnQnky X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55f0acac-b30c-4d77-574e-08db76dec509 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:56.5361 (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: tJUAX0qsj7zpoDA+zFnKXX0cHUpwf6Hlz+o9kx/ZTXGxNA/2KVvil0N1Z5UWMO4C6x9jYFHKx/Sw5/z9Jybelw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB4205 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839661040845538?= X-GMAIL-MSGID: =?utf-8?q?1769839661040845538?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/imx_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index a94ec0a0c9dd..9be252bea1f0 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -749,10 +749,8 @@ static int imx_thermal_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(&pdev->dev, data->irq, imx_thermal_alarm_irq, imx_thermal_alarm_irq_thread, 0, "imx_thermal", data); - if (ret < 0) { - dev_err(&pdev->dev, "failed to request alarm irq: %d\n", ret); + if (ret < 0) goto thermal_zone_unregister; - } pm_runtime_put(data->dev); From patchwork Tue Jun 27 07:16:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113268 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8010168vqr; Tue, 27 Jun 2023 00:28:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dlP1072c/tcYUYcUNpI4T1LnpvQXnV00AMWgwaDSdsSPnHYk8EdDHbRiHniGdBzVLTN/m X-Received: by 2002:a17:907:80c:b0:974:1d8b:ca5f with SMTP id wv12-20020a170907080c00b009741d8bca5fmr27501041ejb.9.1687850882464; Tue, 27 Jun 2023 00:28:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850882; cv=pass; d=google.com; s=arc-20160816; b=G5WSyxN3DgAUHdf2G1I5Sxip5ua/1DEJryUzqC9/GlJg2kM3n00eQ+iBUtj7QR7kdq ADgYbrP+csCdXiMKamv0cDEn5Wy2lxJpW1W6AushrrE6hH1PNwfaa4uL0ZomK5x7ie4I IENO3DJVYHFbus7n+9bpi05F5p4evwgs9trDhnHuH8UVCZDZV+yMdP+xHQ1+diKRO/6w u0bYY4NrSCxd9bda6pDXRAPiLyNQkJtqD9cxye3NlvgyMIGyJnKZNF/ig7w8m7Ne1lwA +1ljTTbeJ79bCcPKmjYtqLIZR/q0Y4HRHs0qAU4pNgU2qZz1fESbC+/Br1ojXtv5Ngnr ot0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SilFgsAMQbXdSQR30c4xs4aLOy8alWsnz6AffYE7ars=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=neQulBLoVeP1vtiCdDhR4RWJha2kOv0ilJvT942tQDUHMa7E4alCZY9xTRM7nOLCan wMeGW2zQpbXL/zKSKwAkZJDVSva4JRVXoM3zZ9aSQe5MANYC/T4cZ2Rlr8T/opbTa2tK CcXSyybDuSZ0lECxt2sze12Ip1caSlQv6f8sm5Gv7En7Og7kAFanOpDSGFYcWO6UnjEJ g6XQlG6xN4fezb3fUAJYXo07TjKkQrD1ofEcGYPGwuPQb+AeaFPYg+T1mBQBeea8Ue/6 /V2FF6W42ozcql2QxG2Y+ntRux4mE/lsf8uLMM4xJteDmaHy5ML6edzp1sqw68caSmsd UiXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=hdTv0pYO; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020a17090638cd00b00989238bbcdesi3822999ejd.370.2023.06.27.00.27.38; Tue, 27 Jun 2023 00:28:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=hdTv0pYO; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229740AbjF0HTW (ORCPT + 99 others); Tue, 27 Jun 2023 03:19:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbjF0HTL (ORCPT ); Tue, 27 Jun 2023 03:19:11 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2117.outbound.protection.outlook.com [40.107.117.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CDC12130; Tue, 27 Jun 2023 00:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KDOvUj9csUGXYGq/siKVCbDnsQaYjexXIlsq8+l8yoAudwwKsXjsZ56OgVSVqsVrFZ/ImkfiUftgWP4Mkgl2eMTQ+hLnEJfiMxmq5Imb+3vY0ygkoUwEyhKyvJ9dK5XlvNfNBJEe7aOADFxqufYBA5lCH/hm0VUaDpPXInuE4KbSCI0DKt1boOE8Ah7Ar6Rp0WWgfg69c4xE6gvSzscbGlaStY5FXtIHJ2Y1G+LpcEuj2NyW2CCCk3tPjl0D/A+pG3Yt+ERy4xp+xsKB5NkZJwyiQxouZtnB4F7t2qdeHBb2bkLZOJTIdwI6yGBeSqPFzmvBk8hCWSnG2b7ilsU6gg== 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=SilFgsAMQbXdSQR30c4xs4aLOy8alWsnz6AffYE7ars=; b=Xth6uZ/qn8aTK/6iXyFxTHTvg4DOFGxrn6Ld0sSwU2Q+qyDG/9Lq5i/aRUCsGVZ9qw+DNozAjzwLR0DkoGgyuS+E6tVEUCx2UO7WS4ydAn0dfFbQF7Kcpyq/DkRFX7PUGxBzB1LT0PK+aihQ8p77f++JINdKIdmcNlZd9lx/ndZXndH9tpVjEKWYQm3Ne1qLkv3dl99gEv6v/sfJraQB/3YwYqWBOR5nwwnbcJZPRMCa4HAWfPqb9Ai1rmF/MZoUys6nX0IdKEBz757kcXqXjLOTCMy9KWq88wm5lhtq8tUuBNNtUpn51Et1hgMK592YQPwfSH9dfUmpHAQJu5R3+g== 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=SilFgsAMQbXdSQR30c4xs4aLOy8alWsnz6AffYE7ars=; b=hdTv0pYOAfFO9EKU9kehyTAJ19cnOt9jUOo/WE/fhvL405+z9AqYODVl4nChR1bVDvRVM3m0ToT/Fj9pqaSXj9fl+om7JovDRyE6xmwyYJ/4qT94AP0UtGZVQndIVI1zDY9gXR5PCJUw1xQMtiaT8+tsaNnjYPVweH+ZRuB7vLJDbap91a7YB1ZjiPwr6gBbylmAXlREhnUphCWAGkeQk1g8dC2jYF5WAvRG8DxnloD9mt8/6kFqxM1erg1TNUvxOGShLVWhw/ymrjlVYTff7sIeZNZzmA353TP4hps5v1W9eqI0uF5UpBnd62bglJSfUVQL6U4CwguNOkRsRKLYhg== 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 TYZPR06MB4205.apcprd06.prod.outlook.com (2603:1096:400:2e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:19:03 +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:19:03 +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 07/15] thermal/drivers/qcom: remove redundant msg Date: Tue, 27 Jun 2023 15:16:58 +0800 Message-Id: <20230627071707.77659-7-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> 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_|TYZPR06MB4205:EE_ X-MS-Office365-Filtering-Correlation-Id: 7b9ee0c7-c894-4e48-1a9f-08db76dec92e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y1v9RngV3a2KYo7Xj0vdyvuwxPpfRacfMIDsSKBgx731BvWrkosWiNpSVFqWzLdUnQCwIrHhYiBq+Be3W3s51p1mFQzTI8z6/Y92JsQ6dVst3Qrz/558zQhnMzvTuFI9l0elALT5KuHNuvGX4DoYW9ivSnauQa8wjfbMxS1C7e9Yso7vuXBeJP5ux5NcatWQvuCBwrbKpXTkVfC+J9Xboww0rfsul2rHEwPZf+RBe4gSZEMUUvSCDuCBhdgGUWngVpVMTUQsqq20zyj9c7zeM5l9g2VWXvzThBAaaRtNBC0UhzdZE3q0bfxFOoTwgnF4s7BtAkWYJGuDG9cZtaQij7O1msaJUW3nDIfUsvaVvZwxiUm/QWaLQdaudkyVLUSSFtgOTlyrQHeoDvALP/vW/6b6FAtVPX3fURX6CiA06VvLv1yJZ9N8aw3YHo8iS1Yzfs2Egs6qqXExmk7K6fohoe5Dk4ABldCbk2yjanO07ZUTQTQYOGpVNlzkwB7KVZalL3pnxl/lHCE0c2xPfNFD7dSRdkXQZIJQgFrGMbh0pBFT+1cVsJobOsuiqnJCTo0r4NyKU2Lb5zldLVIL2KV2jxeny4hTZSycr+0HIhhv+18p35jgRKFpPiZUwvncXlt3ZW+YejqfCVSMTo6OCkL3+Q== 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)(136003)(346002)(366004)(396003)(39850400004)(376002)(451199021)(2906002)(2616005)(38350700002)(38100700002)(921005)(4744005)(83380400001)(86362001)(66476007)(6506007)(4326008)(316002)(1076003)(6512007)(66556008)(5660300002)(26005)(478600001)(66946007)(41300700001)(186003)(36756003)(52116002)(6486002)(6666004)(8936002)(8676002)(7406005)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: foFQkMXVLukeg7XChlUzsoYJzdky48QSPkzlcJE9Zf4JWXeBZB7Ypf5XaVe/kCZ/MEOQghj7TN/J8xHjDBVVq+OwZnOql7uc7U5QkpmPDR1Yc6Pc/wknMwRIsXhOp0u4p0YcJtfwQ8qU53pxUCEqVV2Jr2LW2tWJrQRmax0HGPSWA+58s0ZKZtlkyBSFxCBWbTJM9HiQ5XdsJn1TYK5/nOjwHFIDZx28lCTnJjJCZJO4gMSUfAC5ICN7bcUjamVSIkBVayE4Bnp0o59ABoN69QIfBTndGbF49nJZpuqb3F8UGhBmBSxRZUZyd04n8vlCp02Ur4QZC5MleOXwfu+xZ2cHJTSDdSKgJq5uFUcXbNEKqBmQwIbyS1pwUtYIXMoQq0/2p3SrmuiJJlU/nbZftQMg0IsoKQ2ihyp0orLi5KOX08eogeg8Szf1l+DCqIyQ+J8dUtDFda9JK7DuOzFsrsT5vmHW3uU5zvPcqS0Ndt/gPASLGETO/PDjQR3mpoONu2ypPN2HCLVM3WPHMfIGFE2W/GLQFetUFHS1efYAJ4t+7fAult4zoK8NZtE968J7LMP6np9DDTI+7O4SIAuZfthv016kNzgsD0Jie15wvXHmhnvhMByGECNtDXuNI1AxbA9mf0f0wvaevH4vROWa+/9gds4Hv4SnRYanIl4nHE5tlAKnztDpJ/qSm8H3Z/HcwBJdscQEAmppCj8u6zfr/+CvynAGfPFGBVrHzhHaS0AUPvEu3KYI6xmYjnJBoV9A/veJxXY1DvNoMulQPiEq7uwQK6CJxy1vgf/kLcD0ttQxf1gXBuJX1LuM24oFmwPqLJzQrW8R46UZUBRA9INkrvvhXOWaZJEetP5svfbZwlc4vjKUBF3Jd7/QcuRFeTZyN2sCv0wfEhMZdGh7wuz/3BNx56ZYhLPYV/7UhkmrHHoP6mgoZ8+/w+bJ9aIFE+b2MkUVSGyFFyIK0GLSfsu2HGWtwECfzrd6GFwbUwmLubxg3QBqO6kQ+M8lMCgbk+DSIVKuD+e3WiJyyoi0K20lge9WSZnE13YqSxk32ejIoCrzEgEM5SH93oZN1jh7cz5OoO+hG8hnMB7+lU2EVwYkC0MKeFtj74j4jmeNkukOkK/l5gzFBFgOKpAL7tc5SyS9j/VwkqILOiqH7AjjOYXmsc5a8Y4pFJ2IQyiShDAOTovB4kW1FXFvmXJXi2p/6GJLmiYBy7gR44emQcMb4x4/EuLHDf5qzf6VE51JQ/RhQLsCdsDr2vBUj+4c6GoGE7t2tVAw2a931rEW72LujWxwWrjBeTQJB52DevtDPfHk3/nVCry60dio0jt0vxAyBSjMtymHjQ6qFCry+p013FHT2AX0q2bQRivenrnjMPkTccQRz0zptjWHu/1poo5QP7YYzKs1vOXBplUudcXxulZm6CsmYV8IJWDZ8VmndHE7J4AQr38/vIMHe4IGRN5lG9sQQjobyaRpXws6nVRmL61QTULqvmeKtwNgNrb7Bb42EfsNTlKicf0ulknPzjj63fTO1Gw6NwYYXW6MVCq/ehm3UbnAi46hPEhYg/cIQ8zTUT6Mr4Ykvvwvcu7jPqUeDJ6j X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b9ee0c7-c894-4e48-1a9f-08db76dec92e 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:19:03.4961 (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: y8EBXvf+4Ogzj/UgufdztN/vNgGiiHOUfik56ItZW0qJiEVvdgSPsW4xvq1xow0cYcRByqECUJoCEO1mARDqdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB4205 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839926811140248?= X-GMAIL-MSGID: =?utf-8?q?1769839926811140248?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/qcom/tsens.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index 98c356acfe98..63a16d942b84 100644 --- a/drivers/thermal/qcom/tsens.c +++ b/drivers/thermal/qcom/tsens.c @@ -1182,10 +1182,7 @@ static int tsens_register_irq(struct tsens_priv *priv, char *irqname, dev_name(&pdev->dev), priv); - if (ret) - dev_err(&pdev->dev, "%s: failed to get irq\n", - __func__); - else + if (!ret) enable_irq_wake(irq); } From patchwork Tue Jun 27 07:16:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113271 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8010399vqr; Tue, 27 Jun 2023 00:28:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4UmhrNHOR3IkGFTMaC43NCPvq0S4+tzlHaz/9IDpCbZXhG5x+9BMN23pOOCQyunLQILCnD X-Received: by 2002:a17:907:7294:b0:988:c97b:8973 with SMTP id dt20-20020a170907729400b00988c97b8973mr19270668ejc.6.1687850913770; Tue, 27 Jun 2023 00:28:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850913; cv=pass; d=google.com; s=arc-20160816; b=pDWoJ4xq+XzTsxG6yqTcuUDWxfGjJB52+FmY3cfre0qjZL5f3MENpa85i6nZuRxChx EQNsO9Byp8/jV+OoBU1RYOetk6JOU6cUJleXreao7t6mA9WCsFg6JoYc7CxBBTnCYnso BMQMMGpiH9LpEg/ZXa6yswah5gdX8Uv02CSgWxCLxBc+8ac0fiClNODsC5i4jZOXKgCY EbM31JaOAA4aJpgUMrA2wVA98246E8W3USVLG6iVeW+Jn8Npqg2/eg5wCzJ2iwG0xDu1 p/GBqIh0YcCbs6Vy5i8UiF0ijBnXGoN60V+Jgl36TfcxXFfSCAEqVoyCfPrYn7epyiYz gT6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9/6/GPomcj97CiX6Tq/X1JIri+6OnHfOyo5lzfljPCc=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=bn0GpZtc973oGLe2ktrNqA5Iy3qjfRQ4wyGPAqjdtfnENC3WRDHQhlnT0i3oexvYRQ yU8yru1i8Ll0jEf8piq7CJuQG8VsuALq8iXybEr4fae5cq0yjzWzxInZJUS1oJ/zfoqH 3F2sln7tx/Nyc261Cs96a8Zkv2LmGOV3blER2t5iEwsx1aOjTpjVx0fnEbe8wg5QTbIm HvCdoceyJSq/ls9/uqWJAqZIStkzhzePerwbMBOfM0Cgl1/95Knycno8EY1kUcnHqah0 SpejIft60fa5pCQAwWXmdFs/wotE3aBiGcOugKhWiCoXYYDNVk9TeItFaGEmH73hlN+U 1xZg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=mpAfHzLK; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l24-20020a1709060e1800b0098887871f10si3861346eji.575.2023.06.27.00.28.09; Tue, 27 Jun 2023 00:28:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=mpAfHzLK; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230454AbjF0HTg (ORCPT + 99 others); Tue, 27 Jun 2023 03:19:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbjF0HTS (ORCPT ); Tue, 27 Jun 2023 03:19:18 -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 9A28D1FF3; Tue, 27 Jun 2023 00:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jlIrQsUowEfSE1W2d67znryTEuOGPPw0P/PqFUqcQkM2TnCfFaQ9M2/anJJMtwq7KTakbkYSbucPP4eenMipSFyqKLflKDP2iIU+2DLuJnYkWYgVddWA33cwsM60EO4KHIaqn1KrEQI+WixXVLHdquQxCnYosyBTdsds/aMeLIS1W08RTR4PupybE9AgxjAOxDkmEv4HB2MJAjKNaQGXWgx973118XpJmuymAFaVnRft3ZirjXMdg6FqUZau8UIeWPIURrLcUxmONwo15fFBUCH5gbEDeFFAmt6FnHxXXqXBKBxcI0vcCqmS71X+LgEkmQcDnTCCbAy+dlhsefkEzw== 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=9/6/GPomcj97CiX6Tq/X1JIri+6OnHfOyo5lzfljPCc=; b=bB90roR9ikCj5dTzw4HNXXMisZD6OADROX8IJj0XEoKQ6T9nNATwNWb9uJ8erNSmfr0hmiDsVLBRylUrUhJ8KjOxzKwHtvVN6G/WD1dgw5NQMrOIrA/H7QFw0wbSntmKObPhr1/5OceViE4KQHPgVJeXP09SvLB0s8KvrTO/paCbh19Zp+Jlaw4LjCvukX/8kamqWqflsD1oy4UM9yYbHs0FBsnxO0qw214bE3mowRIIMhgMpjNPezszKqkqPB79sxbrQvqiWsz0kGGv1ZgWTDXmOMQWdiEN/oZyJ8SUJXekYYQO5zVhFOaw98iyJuZ6WeAJaoJ/ShlPM7g2PcExmA== 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=9/6/GPomcj97CiX6Tq/X1JIri+6OnHfOyo5lzfljPCc=; b=mpAfHzLKibbJbTH6GumZVMk7WcPbaBM4XVZPhL7PBYX8HX9tuL8EW932+3QalO+SKNiocny80BMI8Bb2E4H+FsHTJKJYjlViI0E8LWrt0Y5WRQp8O1bdD4QI5aF8Ad5z1mKELaofbxY/8S/rEIibnxmFz196Qmygxi9hNB69ers6CQXcWFdGNUNNf6voa4vjHH4Tz0fzDw0lOBE5s5zm6KEKN/+eEDOLim31/J4zcozipTXnDGvIF8hZazoi5ON4JYNflQnnNJKKEF9wWxifbkv81esEo3QoxMhdRevQHZHW/w84mQkqCJCbDlDa2BV5+Rpz486iU673N0go9buubw== 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:19:10 +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:19:10 +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 08/15] thermal/drivers/tegra-soctherm: remove redundant msg Date: Tue, 27 Jun 2023 15:16:59 +0800 Message-Id: <20230627071707.77659-8-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> 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: 17b71bc0-d5ef-4d73-b731-08db76decd4b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KFnpnnToyKa/sU3217xLoF89878YeV5eNpIKQD/8OoYYXZOpPlLh+IAOdnD+rerirkUHurZOmBT8qtC0NmVa9xXB7KKtcc1N1DRDMhQqcvs6jydnXAlvj7VhAcTbdICeE19qaqMxN5M9MmOp8tiJHxl4CjlOMxdvhn041nLqBACK+q2Wx7ByTMDSpyPfnw7BV9QgEk+aPPsIH4bcCjveTpbZrQ2n2xst8X/HOn5ZuS+RgQK8EaIZD4i07WKSEGVYGndwICs+z8kB9HkUDeGnpJ2DhtBbwrQYcqmrY+CrKVRaAWZJwNCPav5OwB4WUGQUaCDoXaYUhlrEmj9zCZWBK64Rr+cwbrKbNIKeQowtW3TQN14LtqqTQ2V4/y2WZwksSfJ9TyGcg8ckRWawiSaIZaNB4dD9KASD5rESCaWusMCUsA2EIuUqFtxLpI3lVXePulChFGovL9BfRKZSNoQscBnTnC+dXE8NFbny9Yb2Ke+l5azbgNv9LxAxn8dLAz1G35RvQPsCnLaENJ6wnqYGF34hHRTriI5h8FbGzoQ4HhVbf/A1I73xGsFTJh1LXu5fW6quf/Pp8UjyPmsLGdS6juwF8jKo4Fungyt1lcgKMH98Vv+UwMH+zOorIy9iWnWm 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: ZVy8LkYR20MmowpUVfs9T5nt1fcbPsk3ZHkpw4NGalLkbtzyfOy1InjiraRapqxRC1aooxuTnYFPx1GluEa35p/LAPrq+mcUoh6++EWXOuabw6zonk5v8L2Z4AGbMORfLYs+vHWl6GPjzSgdJBtmMru5Oa1l0r4sHZh6ghLrz7NOwkhnPqmT/hHJd37oXIwk7SX3FqBmcXYpzAFbTZHdd04PbNCNrEwZpehA8TF5m5KbrtN6hSbGnd4JC6uVf6mJO8P6QekfKGll1gl8lwRb//LalwN3LuynHEw/KyUvbsVhBl9LqppZ+40mbJdNFSOVwYs6SQ+j7wOtBeUPcSoJgfBIcNsxNovAHmrfE/gRtr90EA7tJK7ZeIvHXys3+O4EmKuKecQ31kjELcn3JNXBRLx98CKhZ7YZjf8vFAUsDtoEPYrRs4XTQwWyB0wuKaJhJEJHid3vIG3qwfjems8Wwf4yGsVRgGo8FVfG0SNKBYr0GOr3kzNpI2/t20WlcTzaKEDFdO5WoP5vNcLDMXtzh8m8ImxmGUDIfNpu6GrLdKOgkybdtRHc66h0az2L4y8ZDJ3diGYOQJcwRVsPh9WR5pUzcx86W1OSedRJD/2F+iazBxgnJ65AInTSUkg+zYYJzejjd1IWQczO6ZeUssEdZW3yffseuclkYGE0iMOSpvUC+htt5hxxb6I0d/NBRx5w3Rj8mUN0QvkS0uYF3t5zOl9VZZlBp7XzeOM2+wJfpRuSvYaN891FLGvGVAvOdhItDBnMx8tnRTkNzYzHmfqvBD2uMDpRxzbfeNO/ZQIGNNvyCWNUiLTq1s0hJ+sBtMA3rFfrg+0Q7T4evm+jILyvsI1YfroorE57BiuPMWSRdXNFWXoPNTxpUVRmENvTDnRsI1YpqdKDiDFz0tpEk+8wCO7pS4iwtkwxQsxEnKxOYHj+RE9QoB7Nhadc6Jnt/qaaaS3Hr4+MrvX/bpjX8/USqdJ7Oiy95EQpgGsPPtVw/IKMWo6zhWmBWAI7vFGcyR6EgpegE8adsntOKcbb7qMRx94G3/ADCU3hOQkozaKo1BooXXiJRhhPDWBsgUaVS1XGY/zO64S2NMyhnB0vcER1GrdeiJbIeyeopCGieG++wy+7Rg/SExELBR8RspDGgCmzYLyNdiJvJUK7u9lRVIfWSx5WWkVSTpqRs1S1upbhMlOVAnpU61W6tnVxVDGsi7TFtE+LnD2jHeMzIZhgdPbWb6ilKE6ilxn/Bx54Ru2B70ALIH33YQUAVMwhONwmZTKo+r9O6wd1RML9BGbr9LuS00E1v8e4iR4nGPGAeDGh38CylZIdpwMfHOaiYVPzSGyRb/Q4SS5X381bnx4aMjJAq9PRCbrUkNnlbGoZwp8VJ1MQOLGVVRDaNXpCKdw2ke0yVkY8AUcUTGMugYc2RYhPExgUz8BGiRFGKssIP2EyRooBdm6ZvcOHvYwWju/o1T35T1ebpGHE9D693AZLvcVp5sZ9FT2AQqOyIF4+J3uyTdWVFnwLs66ePeYPEYIlSWSgOYanqts/cHff0IlqVZ005I9QdTqTSOUIcId54i+Y46h/x3JZKNLQ9hdp24DFk0bJ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17b71bc0-d5ef-4d73-b731-08db76decd4b 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:19:10.3888 (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: luYBpswzUHYjrXFuuZIsHbsqf6vFTh/FZgIOnW3rCM6SRCnjB6MSiQyEg1TrVl586JmeV82yvFnzfgUqTc38Tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5137 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839959493279236?= X-GMAIL-MSGID: =?utf-8?q?1769839959493279236?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/tegra/soctherm.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index ea66cba09e56..55966c0a2610 100644 --- a/drivers/thermal/tegra/soctherm.c +++ b/drivers/thermal/tegra/soctherm.c @@ -2000,10 +2000,8 @@ static int soctherm_interrupts_init(struct platform_device *pdev, IRQF_ONESHOT, dev_name(&pdev->dev), tegra); - if (ret < 0) { - dev_err(&pdev->dev, "request_irq 'thermal_irq' failed.\n"); + if (ret < 0) return ret; - } ret = devm_request_threaded_irq(&pdev->dev, tegra->edp_irq, @@ -2012,10 +2010,8 @@ static int soctherm_interrupts_init(struct platform_device *pdev, IRQF_ONESHOT, "soctherm_edp", tegra); - if (ret < 0) { - dev_err(&pdev->dev, "request_irq 'edp_irq' failed.\n"); + if (ret < 0) return ret; - } return 0; } From patchwork Tue Jun 27 07:17:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113272 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8010418vqr; Tue, 27 Jun 2023 00:28:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6KgVQCK5BDq5YuNQYD7pZsKq8OEMQA7CpbDyt08V3NHHA7Kr8mCGI2sjrM+V1z103KZswz X-Received: by 2002:a05:6402:345c:b0:51d:9d59:79ea with SMTP id l28-20020a056402345c00b0051d9d5979eamr2659753edc.41.1687850919229; Tue, 27 Jun 2023 00:28:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850919; cv=pass; d=google.com; s=arc-20160816; b=1GFmlIyTHao2CQdsjp97mqj1W4RJYKTaucKuIPAHAzramjvdW5X6KNI/WpdyS+Ri0/ X6XkKwnhTYezXZZtW1b6xYJwBiFbrG/CstFGaqwu4KdX8v7nOerNri/sw1/xXI2t/E8v RGw7GAKjwrariiHw0tcaLYRPe+NJ9I4FCPs7LfeB7FcosNZMr36tvzPbvjuH6mN7AcEv s1yvMLuRkoRP8825SWDv5nNKRaFebkceHl1OI7DuyvNQrMsBsRgH0ko6Wp02BeAC4dWV qKIS+Z1WtuBdaB6KRvuyPIVpDuoUXh6SU7WQUVYCoT/l6xfoPknQ6+6q6If9Dl7fpXlh w1Bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dbn2r7sMqCMJAkMmElNywTdslyzlUzkXyMWbWMHEQOs=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=xw0trIau82wtysvjj3Agxrr7YOIKL9Tfd6dErl4nyX6NkXp7uLA0JKHInuML0HU8bY kpNHzCEx3ZShM7SzJChFS6cFD244a0txzeF/bkfXGfQ/H9GlUys1Z5WZBz0/GWNN6c2K TAyJb0MKwlp+H162dOaQOne6ccbpffAcwNnTWUuXRulup7dBf8HjfL03EbOeA/xvopEb 2k2MyxVeMPpUWK4O3V108qImAjvteEu5DxZARpxONiA7sKKMrk7hJFoo7sk6xQqIaOhx 4/o3jkNq9MJ6fnbG1HAQayXpUU0CCNoh0xQ1EGAfQ2V6Ty7vb4xi30lVEdY3eGEi52nw R4jg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=OlP5x+yW; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020aa7c702000000b0051da2da0ae0si1349747edq.238.2023.06.27.00.28.14; Tue, 27 Jun 2023 00:28:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=OlP5x+yW; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbjF0HT7 (ORCPT + 99 others); Tue, 27 Jun 2023 03:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230497AbjF0HTr (ORCPT ); Tue, 27 Jun 2023 03:19:47 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2112.outbound.protection.outlook.com [40.107.117.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A63A2965; Tue, 27 Jun 2023 00:19:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FfTjkMtVeHx2ZtR8wHfxWxznE2vlQMKWe+8A7q1pDdZD55py1PChvRXl2M/T99lNUiDM2GhDaVnEzMcWHDW/jyOomKVzTJkjPV+d+4s7/Agn9/R1/AaiDi6E8xDMDS/Nb1e+dCLItvY+z6/gjXY0fvy+jfX8aK3buz23Cz2YN05nSf28tgW5uaEib5jgV2604UfQIaRQkITjioWq50x8cXpGs7IL4MetIOLNbUXFW5OlUBZmqezM22IR6YiGdPa1SfTxp5kXPM0m5KUO62Fdk0fAClYLE3Srf2CeKVQtPfljhdFRyTpPQweAn0a6y4A0kdiDQIorSg/Qt8ADt6StNg== 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=dbn2r7sMqCMJAkMmElNywTdslyzlUzkXyMWbWMHEQOs=; b=VOOc6uFO0MpbqnTBXPkp+JCn730Dh8Re3yie0TBI8SQWNMMSQgS6WWUusPFb3oFe3psGlaMlxxLaSEbgurFFuJXSC47L0CIMjyI7vRWh0Bo7jKazSCfOj+YpwOFJVfoKA5fox0cpDT5NuWbJcXoVBkb/D2Nt0EbO6Eog89EI9XVW0OFbK7KI8hn05t6YEUZZD6oR+Z3FrPZJFDImbsT0jgo85HMvbgSElgk52z2Vkdw2qOrxyz97+wzI8XAJeoKruCtjJT652gXXzjuAsLweEYjH2GBto6cuF2DvrNbdd5lbbTIb6H93rP/p4ZrdtiTcbLd9h/4ioYrx7dELLi7iwg== 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=dbn2r7sMqCMJAkMmElNywTdslyzlUzkXyMWbWMHEQOs=; b=OlP5x+yWVU3dUJ/a/DEeEvXBP6fAm8h8pMWP6R3Xt2wgdOqwKyC1VxzLUePXjXf2msGowF5tDBx/qc+czvf689gBHiZXGjANoyLX+XwxlxkkmlqtrviAAztrmiseJ3t0oq5gBL5lGcQm5LfgPNgExC+gtz3aSg99vXhTiLQ+SMQRcsORnEi7POWft3WMOsMlkJsGoabn6BQ+wpWDrOp2m3voEc22xqWWAFrR4SSLo1O9SG1iYCWztNiyjKWM8bVh2sYUOn+0as0hLgvX5iWfVtLOzXFWaohUHAyczb9Y7zVb3IL4/cLlVbWDWZIAhL8lG7lXrpiY+LTzZXFEdsJUZQ== 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 KL1PR0601MB4289.apcprd06.prod.outlook.com (2603:1096:820:78::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:19:18 +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:19:18 +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 09/15] thermal/drivers/maxim: remove redundant msg Date: Tue, 27 Jun 2023 15:17:00 +0800 Message-Id: <20230627071707.77659-9-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> 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_|KL1PR0601MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: 4146e1a6-c370-418c-5cd7-08db76ded1d9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u80hgdvTW6H+yKOUHiI3ySyuuhr0C2yM6jUsUSq/hGlKBIE8XMz47WwH3o8NcVWD8KPRfg5fS65qEXUADDVtoMq9jHvFYzVXmvKnJVhgnW0SEhrLPAT/qz9BL93h5h+xWcsORU5AFG+QpSRFgZdswO2LYVfebGCuxSa+0EKRQfOjS58c21GVy890FHy/lS2LyHdQSL/xA2c7EeXCbZsUD6V/uZ9UWYCUxW9nvwBkJq3qfrqtbNZm96nHyuO7mrPkUgf9tJO0Fwsmy6zaFfuSjlxPoeqKba3S0NXrJ/lRMgJmyWCfnz25GieQpeKNV//edVrvfOjf3922cJlF6TSvmGunhIoDRAx9fNOfpU4Qgg7QlH05MAJcv8nMNegQhBfC0iKT9nHweCx3iw1Cx1CLRA5RfC0xyDJaOhiOghIumgQ5TFie9kfBjX6dPTOcUeua7zWuB5nluizKKBJAAUm65AxYRZzKKGwjGBuAUqRYCKyp/i0dqOtNonjC11+fnaYz6uwuNVwShdxj2XhULvMAWpXJUAwsVvy47uFfpn+Kz9yfq3ZmdtAbyCWJdRwKZU0iUbUVVIXu5Z7onkCU7s2S+Vj9xv+Sdlfb7xZG4ks/xyCGVpjrV5FeNxOwgLyScXeDftwlQmpEKDy9kzA+FFD1LA== 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)(366004)(396003)(346002)(39860400002)(451199021)(6506007)(36756003)(6486002)(478600001)(52116002)(2616005)(6666004)(83380400001)(2906002)(1076003)(26005)(6512007)(186003)(5660300002)(316002)(86362001)(7416002)(7406005)(921005)(66476007)(38100700002)(38350700002)(66946007)(41300700001)(8936002)(4326008)(8676002)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TnC1lvOaZLdEGOqMkYtS5TBInP4pv0viWK2OcK7V+C/qopnVGnU8loitY2fjwfI+wSQ+v8orutz60bNEgl9CtIONBc5zZOlkPj3UrffwGWip0b4yFvlTfTg+sxYv4wAVEa+MlZLIsYKszasQGhq4xnepdJRdX4ChgfOrf2T4DmJS++FUXiFSJkkos72Xcoxm5Rbg1YpcAgyMAdhXfxf3OHURVd4rXB/cyhee/qKhUYvRHavlhc2b5TfDlUAn8sCmEd6Rj1KnZZHwVarrXgW4NNTVxrKnz1Pwyj7GZ20HSFos/mylZywBxH616cNp1700lXQJRiwxdzcbTEPjeNn2+dFJn+BFb2GsQChXZrQbp0jXmF5mwT37LWTjV4SGi8NH0RK9FygET/WuTsVmZ4mkC+0hsF5kNUtSwxMsv834t765r0U3rS8tAhQGP1ly0iP/GJq3rj2CglMwW2VJAR2ryuPIt364G4503uz8HSR+l3OVh495JXaBHLz5rSiUWYPQHI5V9IflqpNOKu7B+OZRElZsrrWycgnb5GMcBCjlB8giU/rOVvLzLqw6KHxWv+E5TA6380Ay1B9FJIIWc9OdQ39VpkA4CfrbU7hiGZs5Uho3RKju4hTze2QOnEJhd3UDyDuOTxt5O7HCKiOcKH+hq/M5BERU7D23frB2APy78PRchme1kkM3Sur7SjI7WivAW3N2H7xPFYTL6R08L9UejjEHLyW337wpg6POrTB04gsE+xQnnQScz9W3zf8blNIqifGhd421oVZS3HnJLCY9d1c4Sew6NmTCvbxILwhYSkpekYk+IzcONJ4pZubceQeb+TwftdyzLIZ+cNKf8J9GpAdrfmWzZDC1oZQiKgpgpGFnPxj+u2bloQXa40x5DwEgGJ/i2dqnxN7Yh9eCzktONpu/EdTP/TsKjqN0F5C1FsqfjrI8F67RfvbECk8fVGO4mTcUY95S089haMiDc2W/hwdc90Cln0U51T+9b2F5xiT616j/GhaZA+NR7onboJl1i1pzSxE2xXg7liqdEJYvdHxbRChoX6AhSrhfNcE8DYO8yHxru6MBEjzgtwSXDQvnJbR5rezTdUwhhuFW6OIc0eRzgQmr8lgdssBXRJVmjF8CLYLKQwjx0QlfUEb2JSe43ZhAUc/JWgu0D+Frl0gHpnLpiPTRzYR/QJUya3nzdrC0IiY4LoVMQlFWewpoULC5X/y8Z7fYIiUQI3osKW9SkQzVV6zXH5gRbkbn5WW1C7018y3p/RGMsh4qKFp+5zxbwjSe8rNbyYXXyN9l3vYOpXsp1UDfmq4Xw13AOMY9Mn2eFCOCv96I+j6r8zJD63AUGyMvbbY+bEak1EruLHKtPrETAeRjoYk0vWHT8HL6/TUoDVObi36GcXAT6Nm4gmIHa1A9fDqECY0xsGmnM4jyHe1GfzW3lsvpwm8T+lLRM5Wo4a82gtqQ/3MeNPejlUasr7/d11PKB2ifLjhW2JSvVZG8HVKjY3VCTtofrBqiXmooBhkA1dwW6wkVyscAo/q6xhx8AQcfGZdgHDLf/LWzzFDWx48rwfz7s7Icua4Gm7F0dWjyEJdJk2V5E81YR0G/ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4146e1a6-c370-418c-5cd7-08db76ded1d9 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:19:18.0219 (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: DYbmIvPWtpCZjXd3JYCXudWGHz8JBORcoqPba7UOZ6Hkt+KRxcIHXj2ej0MiQc5QxwfCs+xOgjaO8DPycHerNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4289 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839965461140609?= X-GMAIL-MSGID: =?utf-8?q?1769839965461140609?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/max77620_thermal.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/max77620_thermal.c b/drivers/thermal/max77620_thermal.c index 61c7622d9945..73c251caa62d 100644 --- a/drivers/thermal/max77620_thermal.c +++ b/drivers/thermal/max77620_thermal.c @@ -125,19 +125,15 @@ static int max77620_thermal_probe(struct platform_device *pdev) max77620_thermal_irq, IRQF_ONESHOT | IRQF_SHARED, dev_name(&pdev->dev), mtherm); - if (ret < 0) { - dev_err(&pdev->dev, "Failed to request irq1: %d\n", ret); + if (ret < 0) return ret; - } ret = devm_request_threaded_irq(&pdev->dev, mtherm->irq_tjalarm2, NULL, max77620_thermal_irq, IRQF_ONESHOT | IRQF_SHARED, dev_name(&pdev->dev), mtherm); - if (ret < 0) { - dev_err(&pdev->dev, "Failed to request irq2: %d\n", ret); + if (ret < 0) return ret; - } platform_set_drvdata(pdev, mtherm); From patchwork Tue Jun 27 07:17:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113270 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8010355vqr; Tue, 27 Jun 2023 00:28:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QcEGhRIV72GyHJaaWIS21bHhjb1V960hu8vczOQzrlIQrrGRDzskEwvpmiid/GP81Z6oC X-Received: by 2002:aa7:c3c3:0:b0:51d:9ec7:15c3 with SMTP id l3-20020aa7c3c3000000b0051d9ec715c3mr3425425edr.20.1687850907594; Tue, 27 Jun 2023 00:28:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850907; cv=pass; d=google.com; s=arc-20160816; b=k/PQWm+cazGrdmZV1xynR+ra3Bmy7RCz+DEec2sWoBjQIdHL4C9pPRBHGAIupl/k60 4yAZO8qvKe/1dtSEC4PcQCvXASJa1vo8Uyc7aUFktgbUBt9bFil8cjbH8JcLacEfxXEP VfBv7eL95RNB27jsHjt40wxMdEjKVO5CZCCc16gtxsaKYZuioqFrv7UUX9awksHv74W7 dYgwq2Ovt7P0aao160IUB44kvkt4x+uY5lflQL8wYynqFFqG7HTjJM5ce+o2rSZVAOVm fvO3fIFVVKuqiEGaNnB2wvV6l2DiAaRIqhK7anC7d/535MEj+kdDgL35Il32RjJI5Waj KhVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vjgKyXZeb4Pa++8I8gRPsqs0ePfqjO53OpDqWyzv/zo=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=fGzJGfuzAq7bw6X5u9HHy2HuGKM/V2qe72iYF1KVeVyMbFptMUluhcYs8XKteoVtHn cKorQyyvUPtgF7vNw6OofMKK8jy/WxMlc+17ymvpKHnK04QOmWM4/5SERqlh+VLKmWcW HxAntA8XzEmuLmjaWRlPOQJf8hEV4XWwYsV2NcpYLtEjXt1vbZ77mPf4kBnTKZCgFFik eFNTUkeuiLhkA21/jT+TYHqX2gJyrUkxKWuBL0aHGQLzKUTt85pvf2tro93COj7pCSqh 0aknZ5X+cvtY2NczMLmiTCgfmgw62D9MBtjIRoSCzIZI0lFWcD4uG6FFFPgkAB70WIAc 7rug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=Uy+FfDkw; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020aa7d305000000b0051a1edf8a62si3584902edq.564.2023.06.27.00.28.03; Tue, 27 Jun 2023 00:28:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=Uy+FfDkw; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230247AbjF0HU1 (ORCPT + 99 others); Tue, 27 Jun 2023 03:20:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbjF0HUU (ORCPT ); Tue, 27 Jun 2023 03:20:20 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2112.outbound.protection.outlook.com [40.107.117.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A56EE26BE; Tue, 27 Jun 2023 00:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q+tgbYkL4yljv8NGMjH9MkubnXeMrz0q0CysBspRCVCDVaXodWyahqI0MEFdjcf8rSQKhiNhkDtULLcYdrhpbIpzjp2inZHD70oMAyA0QGDWz5Z10DjNVhJahfxxCeDYq1M1718xA8Hgi1GsMJEm/+wqzEMaPhaWGnq0e1ovked7pgIL7BOl2OK7HweHqAe1YL+cfFCa/dTzP/tJpfItNK4Zi7LItM0UADA2N85X8zKbSHYdbuNzor+pZcdg9qg0AN6YbHbIaM4ZOpdRL+aCwtIuUbc9WukfQx5VXd9nvs4ooFCnNmWpWCseNBS6+PyKLxQrZTZzrsS1VCgLI++xbQ== 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=vjgKyXZeb4Pa++8I8gRPsqs0ePfqjO53OpDqWyzv/zo=; b=TDonwbf7patfiueABPEIGRA9lyLCImR+r1SYxygSe0TSkIa6yNcfrV3GjcF1DtYS8bAlRQygl+u3zskJL9S5yci3q8MJpxavRfg+ZICS3F91TJE2xkPN7hOYYNSHji7AM/WBMjHFGPDUw8vBdpNlCEyrs9/w55nz33dKEJfpvRkJXx+yYR7qPkdeH5wR99f5+zx8+vOCynpNqPbmMfD3e9Xbp1cAF8VcEZRf4tQ4fsKBrqwN7TOOS3pW2JsN4N9LzjnT+2ngSGevEmL3PtZTIbK1zKnCKjthQkVpodknxDZCdhXMUkRiN8vdL33fmHFJTtM1N3K6GQPpPzDaT3377A== 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=vjgKyXZeb4Pa++8I8gRPsqs0ePfqjO53OpDqWyzv/zo=; b=Uy+FfDkw9WLXD71SnE8+1CBCdxc7PVBXfO/syaVOSpOHAjAAgB9fsZnB90+2ZXqDtJ9QRu1MOnFdiFN6pQvvYzzbndIzVTDDq4OrARMXym0WDXPZuCTTIIZcOxuTJonij4VKJJeI4R/cbTK1p+jixfgnVXTzf17VVkQZc056UqeC6oZrB6b8mZQitaV9YMm7J4wC+oLk4aLxj8M3wuBawwgrIvMVmitj2jDM/s+HKLXSSk1PCtfvGOmQkk0kkYj6g33zco6GZdUc5WXnoKAav+zNafv57rkMQT0KrAuIm7PrdBdZysHGBCMuoibUm19Ccj8b3AzPYt3y8XSkH0QTaw== 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 KL1PR0601MB4289.apcprd06.prod.outlook.com (2603:1096:820:78::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:19:25 +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:19:25 +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 10/15] thermal/drivers/int340x: remove redundant msg Date: Tue, 27 Jun 2023 15:17:01 +0800 Message-Id: <20230627071707.77659-10-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> 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_|KL1PR0601MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: bac76a8d-1d7b-4977-58b1-08db76ded618 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hg3/eumoAeHzpq514NsPNmcGQAy9yZhxeQKWzHByR/ejX3CPYuznYOCTPzmY6zjld+QdIEXbrxSpgh0WHinN68aZ3fBVRR7JCwc1anCjiICkG1w+tvhSeD7CTBTKHBB0ACbjm11UxD1yaIxUzriaUKtHyO4uxZxfKu4eUt9VueXhFvT2MB/cxPI7ATpOdpeGwdP5dDXBFUvswMspD2ZqECX6tukPIbPqwVnmI5tni1fwsqIdCz7mFR0X9y4SfyS3QXl4Ux9GLSH3Uvv31q9jzmpB6Wl84lkUNwsa3tVc413KUdjJz28pHL4gs7nm7SlBmSgEYU5WYpEG2EPCPaekm4LCzHkvCKKHXBe43v9WFCAbZHLZyRPOh7c6aAaJ5a9Aqp98oKtbM22nPOQB+xzAWf70wqcOelB6GjQJ+3+BIU27X48aleZXFmlaTC4F+DK7vhaYzMyD0Yt5/KDdy4pDdVpIqAZ1jFuafW6Nt2sMK/r2dM/qqOWTzA5Ec8Lu6dm4RexEhcjCyNei1TMFk04n47MF5RlKrB9eT9wmVP9LIIqJW4B8sgqeby7LIu64YABN2raJgL0fQLpWDVgUp0DW7ktivzLWSw36ELmx5JLF4W/Oa5xZlE+3aJ7RkbimIc+SHxj3pYDDvOzkfHzqFIBjcg== 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)(366004)(396003)(346002)(39860400002)(451199021)(6506007)(36756003)(6486002)(478600001)(52116002)(2616005)(6666004)(83380400001)(2906002)(1076003)(26005)(6512007)(186003)(4744005)(5660300002)(316002)(86362001)(7416002)(7406005)(921005)(66476007)(38100700002)(38350700002)(66946007)(41300700001)(8936002)(4326008)(8676002)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 98r8NLdS+Wb8hRZQzJPF2FFeoX76fCjTYYw5ojdKRc+L4wZZAV3PLwIagkQd4/qXMds0kU74XxH4c41zhXUGHaJ/JwO34Ym6jnuZdjmVN9U4N47IhX6c391j2y9617ebG4j0yqjMXY1daVqISSjdHuJTXV+s5PhZNTTDPnMsv3dDjcc47E8UZSQAyT8UtJT6gtrvkZBYadDhNtoLb6CeumMa1iQVLG6ynxgIx3428PzB1v8loPmnvlSroi26EPyAMYmR7MCri3194Zr32Grf+IN+NPqRHG0qitWKWMgESAPKsJuvDj26ZR0Ix/vgcjYa276OyUaYXUAqius5BrFh77IPnwwrxunFvN/k3XbfVlHpwNtvILGPxahPHYHOirykzdp3UUA2uSKMzeJpmPYVJwq9xSBi9yzgn3h/ESFLkJ7WxPW+4fCS65H2CrvRmd2mcd1/JE+cfaaRbYgtt6RAVS8YdXEPGI7NuWVR4bya7QcE66MjxGR0ZuicdOA1IF3+IAx3tkWfVu1UsNZNaTe67wystN0ypVt7AF0QBwnWwhiH6PrSvyi6miyw6/MgoMxC2kEJ/DoaB0XXz8I+u1RJrzk3ip2aleBHvPXf0VubWFEDumzeOBIZJJdd4HZbwcvXopY3Z/Y65umwoYCpcaFuppYa22Ntr21sFdU+rDLIQq0cyv9j3gpTZhhV1GsOhwVO6udmD9ffQe4o8AmYYlXcsE9nbH9GE/RNw9gaJnHbpJfO/Tns1C7nzOPCkOB8beWOTCbmaIvHL7Fv9I9sWHF3sLfONGvFyRoA+iSr8rOvAXbHyxXL2YJiivtujxDj9a+r/vFrO7u1Igqf82OTNat4MXmURfvQTE0ccf7bdMo55zJsgU34EMNvJrTNXfi8ItstwuTxytLB8+qu/UGeRRM/tZRc8R9YpAeQ72FAmaOi1iKYBixSWy4NC1bjYUAWGfWM4U3YP9cQkQvQKDlq5ZA7f2PrB0xu1rhvJgJpuq321oJBwY8im2eC6cVplm/93hrEZNYhiS7NvyYpH/tjf5VKwbwb/MOelbTo/4GtjsYj9QoxaauNav+vrhK57JEX+RFOy9kEEFq9PjAlEpOyx5pfdTaVhYh6Jiy7n8lpa98bV58OaIW5R8ehzdKGkd5T/fv0hbYZ+W1/3x/2LRLMDJmzO5Ob2PwUX26uJkiBSNVb99gDa446BLVemXrk8xg7KeonjHec6niwt9f29/RftAd9AN/hB/tmXGNdHKFUtz5hIsOjp6d/YvEWdB96Ri57qL/bKgQAJub86ELhSmk/d3mtwZNV3gcxsf0tG9AUYnvD3p7yZF6NQM4MylfKf6pHZ//SYiq2sVN31LfjVO8WUX1x6A27TGiEKgBux2yORiPlLnrBjU+0QnPs4W3juqQEh6MOTfOROFEtRKKc6kxBuU9XXWv2IwVUGHAAHkQlPSmSNH2j7wL1uFTGr8d9IYsmz8+mdo//FtF9v2VPD+Y/BnzMrfz5f+ri2lOi48ChPhwxJvDGQzOI8YvmjUzNaoOZD9OrXtWBwnhBRCZUcsmvo2RsJq/8wUlhkAX9VmBwROGElGzgyTJhCc7QQQ1eZ23VbDRk X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: bac76a8d-1d7b-4977-58b1-08db76ded618 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:19:25.1588 (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: n3CGjs7yyT2d10tcLxw7a7rEFAJFl7twUVghe/+ho1WZ5wIhVue4dm1sK3lv/44M575QgRDAShNqfP3XvhaopA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4289 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839952938006550?= X-GMAIL-MSGID: =?utf-8?q?1769839952938006550?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- .../intel/int340x_thermal/processor_thermal_device_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c b/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c index 0d1e98007270..6ea9892b3660 100644 --- a/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +++ b/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c @@ -261,10 +261,8 @@ static int proc_thermal_pci_probe(struct pci_dev *pdev, const struct pci_device_ ret = devm_request_threaded_irq(&pdev->dev, irq, proc_thermal_irq_handler, NULL, irq_flag, KBUILD_MODNAME, pci_info); - if (ret) { - dev_err(&pdev->dev, "Request IRQ %d failed\n", pdev->irq); + if (ret) goto err_free_vectors; - } ret = thermal_zone_device_enable(pci_info->tzone); if (ret) From patchwork Tue Jun 27 07:17:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113284 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8018520vqr; Tue, 27 Jun 2023 00:48:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6iNZ/jU12zT07X19F2ykyFuXueyTn621EfEytjl6zU7zdT/TNNfb9+Y2ylSoaBytox+qVD X-Received: by 2002:a05:6808:bd0:b0:39e:c85d:2a27 with SMTP id o16-20020a0568080bd000b0039ec85d2a27mr35717431oik.5.1687852108804; Tue, 27 Jun 2023 00:48:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687852108; cv=pass; d=google.com; s=arc-20160816; b=Z0g35veQ1YE6AMA8OcVKYgINCjcpQ+9uNC47UTFz6iUH5hyeYVuvmkNjy5BmDmddAm ZonHs5feYO+sL6V+ySwyTmzMERNY0mS1bGD0anP7OCovMMVxZH+CIcDPrR1UaDHh/lwj xRkIURBcW4fnG+Tt2blMsDMYPCzqOu7Kj4NRqjjlMQhEnHGPwgKqZhCwrOeBmSrWufWw 9zG0FcDyX5mtzrXDQB6MxM8S8DkDlTKO6fF5vmYuqhOGx9jjqNzmysAcg6KyaYJOx/Tp 0CHFYtSGma07u6XKoyPCddsplCiIMaWWIAkcbcQTWUBog1/C5J8A4zaeRN2HWvY9Kw8p y33Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=v1gQQy2LsLzxKVpupOl7l07DODTlYKrF46Uz2jsXo6Y=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=1JuUpN9oqSGSEJ28ow780WWix9VqDzcA29nhqth0vCGIJSy/d+TeIHjl1NnavqDKPo rI6RRXIZbGJWpAtK7VSU6XyoaU+aZ3o34/65AMVaPi8rCVBtdkiytlUV3cIDNRDBlMW6 jt0ihT1Pojlq1YQS0scQlknrTLL5LRco773O2+rfbsujIMz+fh4YXZJnMuF+NfYI0KeM 07TYRbeTKW0fXWjMH1pRg5bAbSUK/RCxINzijimlv/Zjbg36gB53BF9gIzF4l5r8xn29 0jI04nM2Cl8zExzutSeD3u4hRPm3MGh5iRuVF52HccZcP0t3uY+zM3jAiPYQlrT38I2o AU/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=bMqOk90D; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 24-20020a631258000000b0054f93b261cfsi6622921pgs.88.2023.06.27.00.48.15; Tue, 27 Jun 2023 00:48:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=bMqOk90D; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229928AbjF0HVM (ORCPT + 99 others); Tue, 27 Jun 2023 03:21:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbjF0HVD (ORCPT ); Tue, 27 Jun 2023 03:21:03 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on20729.outbound.protection.outlook.com [IPv6:2a01:111:f403:704b::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02886269E; Tue, 27 Jun 2023 00:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FRsdY0iuVvC2IfjjiAE3MKNJ7yQt6uhJqyA89NQz06nczGvi+nc5p1CoUDDYAc29N4PUp0d71iy6i1sRQgrXxgDS/9g/2ux4HvaVryXLVJmeV8AQDxDjE+nSGkhbBvriefTpLV+l8V3WHIg3RQw4rTjMM+VjwXZ8KwbNSH37YtVByvckpd0vCKtZiDqWQ4+Y2z+mzdZZp00bBvwDUSLqDPkQncp3vmN9N4l8hO9P6s+nz7r0ce7NlD2AKjwGfa5ZZbn71lljDTWUpqKhyBVp6pKZndmBxUkOBJcOHiQUvq2r8t3S/E24ODnXSLYJvetetE5nX6vCg1YOU+q6hUWMpw== 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=v1gQQy2LsLzxKVpupOl7l07DODTlYKrF46Uz2jsXo6Y=; b=eS/tZdcq/04ZLcdu1LZj4N3T/lW+cJQeiMuPBNEpApleOoA/51gwCegJOeWvkpUYhgNxsY359KrdrAEZg5s/j8uIVhmO616CFOAQmnIfOYRgfozuql1dnQF0+gXIHBl/XpWWLIX5Nv2ez2qHcW5zSECirPHVwuHpi06i6eSjsEMI2uYY8gHTGBSrABYlttLMFFoa8Lxs2JPdi1GqQhpj00JQC8glaQhSfUTog2KeDTzpLFZoOOxfbZqOWPfoMjD+hIZLIW33QDFX+Q3fx369HrHbUSSuM2a852kcWXdDbduNa6IqMBNH1/sVRCmBgNEkM51hT3+iarOfLFcOGP+Vsw== 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=v1gQQy2LsLzxKVpupOl7l07DODTlYKrF46Uz2jsXo6Y=; b=bMqOk90DQWKU2ip4prgSaIcTJ/tl0MpVeQmeBZjKCRgWBWV5WElIMiZQeCENgZQ4NmhWVcpa2NHxNuTQQtH9pWVBjogAg13FZUl2UN0ktPP3MmP/ZYIc7f/JNFrLHG4z7ipgiCkZc33/z6Uh3Z78SW02MGZfBBzhNU9jcMfK+pPNnx7jfVUtW8W3T4aPwkpu5AwJyY/ZurA4KIXV4xOUG51zfIbf811skKb/Krwoz3tPncxuCwZAm3/uUTE1Rg4nxYL+JCJcGcqXswTRrYuDPCWSblyJ3qqw4+tv5xNBNWhhQJNbcou087h1WhUxlDRF71dkv0zAVJpvqYORfLnRZg== 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 KL1PR0601MB4289.apcprd06.prod.outlook.com (2603:1096:820:78::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:19:32 +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:19:31 +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 11/15] thermal/drivers/intel: remove redundant msg Date: Tue, 27 Jun 2023 15:17:02 +0800 Message-Id: <20230627071707.77659-11-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> 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_|KL1PR0601MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: 9f51b0d1-8011-49f6-95ec-08db76deda14 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /q6op132s8e2iGNDI4sNScDlHEvdzhKJd9QZJ4xKJvd82NEWXs60rJqb/wmenW54fxAOdP40mhuV/G2Gmz0WC/3dW1LJy3DZ7PUnefwM9XQuu4hI5NA6w2p6uD2D6haSo0RLTCd8JdLlo7C1xx+PxujMW++Smmm3pZxJq08miflQPBUaXJhrQj66dEVHdgvdOObIH0K+17TBa+9QBNN3ppzrsItoSj3T3V5BsSUmLFs84q2kiQtJ66MONq1sAqD901Pt1LGhKfYOzrzpJ1+fEEFXkZ/irTFbf1z83HH9w9pzzZBtxvOEfBerUmmB05KQYEL9Mx3hJn9PzL0eHUHgrrnGhQehT/JU9UEzOVbbgbnxPHsqytsQIOyKOqPxtHxl4f2mLInYkZg9OHpSzsDnsN1yKxF+Jg+UwaBWlsCeuYwZ/2zFHTJYx8MtSAo96hFlCD031zzYaMmgTmXOqLXuLwiZ67XUTCEjc79zZThywk4BtLqMM7Goqooum/DwzvIK7SIljEiLgp3mp0eQ+FCNUPYSZRK6bDTKmWlWBHobneCR1SlY7vb7IbQwwpy3vur081py0ZjtjgWA35987jKmVCpCfNfGQ+mqaun2kXD2TLUKfwZRav6ZJIKmxjoX3ofibLLQ4omq3J/3k9s2WmP/7w== 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)(366004)(396003)(346002)(39860400002)(451199021)(6506007)(36756003)(6486002)(478600001)(52116002)(2616005)(6666004)(83380400001)(2906002)(1076003)(26005)(6512007)(186003)(4744005)(5660300002)(316002)(86362001)(7416002)(7406005)(921005)(66476007)(38100700002)(38350700002)(66946007)(41300700001)(8936002)(4326008)(8676002)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BtfY/6mZ6WXpGYwHHhTJ/gy0ikfGNI8eRg6R55YNtAht9PU5/F8fLCHjdfFkfBGdYVIOqDJJuPivfJtwK/iBisnDmBxavxOzBxCBmPMD0W+oKUvDgzv5MTG0/MxLdLv0Qpm6jigp/2jP4VWFUFp3MDjbBuzkE2PTYn5KWEeAvfqL6wV0v4Ab87FAcvEXLnrA3gDR7JF5nbIWZIFPy8a9vwERGpdHqav/1qAr1n2tZmeGSAzny0knRRun5cyJNnqpaCOJXk8YUxqycoUmP6SAyaomxRpc7K8LdiSAPqwlWtN+qRAJTMKYHFzf3QNOsFr/tXKXzZOut2usRdyTJksiVZ1X9qvNPdwr7YgQHDM1eG3lrdi/x0c4Qxd39SxIxVxxikeNSQzrLDfi/OojHFhQTQ0UwvAbVbW5Q4AsxNlZeSwEyPXh8PzB5s7roQygOXY7CWXY2idumNz150j0/jq7uQxXSCe/AXBaNXc1UVY2XGFzsFCbejlooFifNjCNZZAh2o7fxWrewgpixvB2kPPzpyNwEVtYFwgefKZeLUbfZNa1Pn25Zdb9gRXCWCi4hKncBBEVTvnEJW7Xq1yhKJGKdoXpG9ukNe+JuUI6tFdoEXkf7UC6u6khXARPePQiL6rXgmmngI2bs47g01wWAHhMo60v0sg1nXthYyQh2D7o18lEb5Z1kbtkH8Q0Fmuffd8o9pm955VHNZf5kwezHGgFs0GztEdklp/ENoGjK3WAw1eHYMiNOZfU/WnYMAAHxVmL/xX53ZOadQMcUvu3e1gWbMQP//M8jrEDN7pA99xTjndB4mE/j/PMNpVS/JTPft4TyvxAyGWK8WocJYoivY5ExEsbv2C557WvE7KX8PdHbqS9ol4DUhda3QRYlD2gfwffLE7g/mA/yYull4G7Gs4vT8J4DRajqCmk/Lys6FnUXBBw01PlbaV6fCg1dIcng2zjEtvKabWpLVYBhBy2P67OkZJZgBTHfZv9uMgLd7WJg4vanpYa9AYVZB2KKp5bvKdmyoCb9sNstXZ9RprHlb1gfLGjyYfL+yHyhbxPojQmL3zO5BdtFfRKZVSxevJCAczCKnph43uAVBIJix0L3HBMi1fhAywAcsehgEEhkzrkX2tkQdNtW0Ez0ipqw3+/iI3hwgn5rhI8EWWQ11ajJdV4j1fomj4WZTULH9UATZpMbRuiPcewJILFHIcTO7bWKGUIhnaoQ5yzFjtpxeCk84n5R1yCLnvV6uO2O5HMHyFBrck99UDOJSeDXvYkTF0EIrSp+4toBGooSmr7eHQiRw4AzTh6Zw3EyB9O7upIp31r7ospW1Blx5cHMKbIaEqdO8oPHKo3hqszDk884/nORiBabKOCOVIU5lYCxplFHRKpdMJ11q112e/uRgJdYC12ddwVIeZT9Aat7MfZhmGE2/FxghtS5gCRXO8wdAJB4udOvZTpYsWCdBrmI0Yo7hKzyA3qvcmKsaBU8QZBqVHKr7CASgjQ+u8Yeo4hSryHdxGJoWWybZX4o/Vkt7TivsR7hbYcHH79tkzkFtjNogV0+H0xtQlwgzxT841zeaKQGTK055wJ8wijP3Gj9rU9jTL5ivzv X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f51b0d1-8011-49f6-95ec-08db76deda14 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:19:31.8321 (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: X0kQjbacXc8vjEWmQf+hpKggq5nZqIXd3NJG+3P3DBAHGZawG4wBKrYwd2jEAQJLp+g/8Xl+O8v0lqvv7cVWqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4289 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769841212581992029?= X-GMAIL-MSGID: =?utf-8?q?1769841212581992029?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/intel/intel_bxt_pmic_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/intel/intel_bxt_pmic_thermal.c b/drivers/thermal/intel/intel_bxt_pmic_thermal.c index 6312c6ba081f..aeaefbbd5d8f 100644 --- a/drivers/thermal/intel/intel_bxt_pmic_thermal.c +++ b/drivers/thermal/intel/intel_bxt_pmic_thermal.c @@ -245,10 +245,8 @@ static int pmic_thermal_probe(struct platform_device *pdev) NULL, pmic_thermal_irq_handler, IRQF_ONESHOT, "pmic_thermal", pdev); - if (ret) { - dev_err(dev, "request irq(%d) failed: %d\n", virq, ret); + if (ret) return ret; - } pmic_irq_count++; } From patchwork Tue Jun 27 07:17:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113266 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8008704vqr; Tue, 27 Jun 2023 00:24:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xjaNaJdk/+4NgT0ta4Fjdf+SPngpoFipslblulXr+OFgOsr7esJ7LSo4tldBNTUx6Qsy/ X-Received: by 2002:a17:907:9811:b0:988:ce71:7a84 with SMTP id ji17-20020a170907981100b00988ce717a84mr20098372ejc.27.1687850650678; Tue, 27 Jun 2023 00:24:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850650; cv=pass; d=google.com; s=arc-20160816; b=yqOWknwwB6/zQtHf1RepwGRWQb8D5BeK33n/2WvNQtUttamVMGD/yL7SOi1GDQv99I vdd05bVf8QIA0X5NWnTXI/sr5v35+3GKFwrpbVpH9RIExzB1ikDMjueLzLyNUKoKBUf0 rjKdo2r7fKsObbA87MnA+6d3Pp+07JNvsUcqoiuBFQeCmMqXB9dkn2H/x31EICuKWekJ 8py0H9CPSAesf/G0LfrbnIvr84pi3T6oxffxh3AvncbVkZl4BewB4G46i5Io8fGEFiEU HMOeoRN8KQX4ct7RfwmBnW20IXENLwymMDzAoPqDYrFpUjLrAaexkhhSLPtL5QS1+AKj Z2OA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R//9pjElr6GXqcRfBcb9+5l4PmO3RnSag4PFoeNkLkE=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=CTJIRoWzFVynPQheLYqBlQQ80VnzG9f9+cdbk3RPFZl3L2BkDg6wl31UdGFw7lW4WW DHiRyqWiqM0a86gAIZ4etXQOZX8o+8PfzX6QT9PT+GjDtM8Jfg20S4r7N9YBHtuHlU7E u0eTfto5OGqzAyMYlO3zU395UZRBEZvrYVWXy46uPeCpWwQWudaMXBviIQPuFmUk0QlN SOdjnQReh7VKUeUYqqK9ft+VO20XdoDUdHdOh94fBdhdvMLeJ0kqTDep9H50uaXZ6nOi Q1/gSsuapjRTJdzY5dfuJxR9YbNSL0gsL3OXGH3zUo6G2k8p86QiV76vg/70Z/wQ/3uj z0mA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=P1tNslaz; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a170906370f00b00989530bd833si3732193ejc.118.2023.06.27.00.23.46; Tue, 27 Jun 2023 00:24:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=P1tNslaz; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229886AbjF0HVI (ORCPT + 99 others); Tue, 27 Jun 2023 03:21:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbjF0HVB (ORCPT ); Tue, 27 Jun 2023 03:21:01 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2112.outbound.protection.outlook.com [40.107.117.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE2461BF8; Tue, 27 Jun 2023 00:20:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SkuVWCP4iLMWT2srxDUCL32Em4ESwnnRm4ZJ/NLgzLU9bWgBWYw85T8nxca65Y/BMjYMLStKHoa6gcGkXHKIQnPqjpQtkMKugnftHmzZKR8CHmB6Ml8tObfWteP9WBsGcjUKn8XJmu9ECO9PRIsV4hc/ja7XFBJaBdtm/vrrp+8h4eDpvwzDDaM0klnQ+0M4kIfaims/rT12CvUzK/D5U/3X3po52WXoZRdn6gGY5sBWVDjq03zlThi4iEdsEzWXe4WSXLfPDPRwG0V+bqUy1+tX5NyVmuuyq/hy3yl54sqkhwelH7CTMToSpOXd89ePiiL1GVsz3qXWCKj+VdDjUg== 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=R//9pjElr6GXqcRfBcb9+5l4PmO3RnSag4PFoeNkLkE=; b=NFMQKDkDzE9zCEuY6Ivla5Z1VAeIQz+8d2OHs+bD5e5r7DmfdUzeEH1E+t7yvgjMDBLZBXu8F7nIjDFcCPSG9IgGlYLCvOrraeWhACjGK11fVOdNQRNhfrdEjVaBV9jXr3pLihOg++//mHqGe3BaqC/NL1bDBAxsmKEx0F+ytPoDMkubhnDz3WEg975785GHfwtG6PaWoQVU1EHgR9BOFAZF5YavVAsigD7W3do1UK4JdtApjj2GCy6OjxyXeQ1WIc1boa59dbjbwf45JC5yW25nz59OJbL5Jn0a2FyfoKdXKeHgKCPt8iEyCoh6+/crAyOgvlgAY46GSxslbf2+AQ== 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=R//9pjElr6GXqcRfBcb9+5l4PmO3RnSag4PFoeNkLkE=; b=P1tNslazf9JtdUadDRKLWZNdyq/MQbmNkMLiEHtISGDuXY1inY7ol/sDvbQ1WTNmKiF8hQHWtfko5u/FYDBT3temLDjt/F62M5ii4E/wpKcKv84nxoIlngYhQ7xMvkvdq4IPhKDOIECaOeUJk5oUQl4dLGKIz/FapNPuyRzkJLPU6PqQ9Ut+voApCxdvLh2NyvC4kNlVisUxAbSyjrjoF5CMvcKzQJ+raxaT+vQFgF2UdKHXbZMLQ5SS/a40PmceaJITXHTXFgsXc/7eFQMWJ28r82rnxf8pzGYfeKrKU4wLB+sFrlpQovHGTAIxrCeJlMI6rbqeypegfm2aTQOn4w== 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 KL1PR0601MB4289.apcprd06.prod.outlook.com (2603:1096:820:78::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:19:38 +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:19:38 +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 12/15] thermal/drivers/stm: remove redundant msg Date: Tue, 27 Jun 2023 15:17:03 +0800 Message-Id: <20230627071707.77659-12-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> 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_|KL1PR0601MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: 238a9d3d-9d16-441c-357e-08db76dede13 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Alu9wwO8d4qguMnuiIcB5iWyAyG8i+IDY6Xtm9G4mQ+iIAeKsdLFJA3mN39QH9G6Fu3Tz/Hg8H8qNo6KdqI9RUajIxbQnR7bbQSZ1CueCS8gs6tzE1xUvUE4GMwY1tC3h9kSw0BtAuBTNcekjcYHS3gMyf4neqIfBPsBs7ytswQUAfpW7ZcdQXqweUIZTgrgUx97ysrpXXiBwiiIMDFzr1tF6GEzp38jk6+09koUPxaGriu9uBZY1ZBGQrYb81DhnQyeFS6MrSdDRsjy/XiCtrM0Nxgf5WljA4donBl25I26/zxsuuU3IHsUl8fMV8KQ3jWTD3UpV98K0zsvv4Mp4DfYorxpp9bfjQCp/YoMdGTvVe70DgaWWPeVBGjha/6ls3zyjfQ0aQrw9nfP9xhJdstrlzUwuDVfPA3zbgfEo+5QcEYZbCPb5HA1nlXjhtnhDWyP/PK4+j432uvyf5JLh8mBCWUTcEx6hwYyJFcTFyQXb6G5Omy2Z7zFc+0zJLF0F3uFZbTuhnQ4weqzT7vjitODajmmACOWXhFg93fQ5muUy3x1IconF+wnxFwdLOnUdgawinOBkHTItiQbcge51+Evwl+3tTq3dYuRYOhAgzlN156ZNSl0xD2pHDyJbxsDma291m64PsZj6ZHPwhBZSA== 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)(366004)(396003)(346002)(39860400002)(451199021)(6506007)(36756003)(6486002)(478600001)(52116002)(2616005)(6666004)(83380400001)(2906002)(1076003)(26005)(6512007)(186003)(5660300002)(316002)(86362001)(7416002)(7406005)(921005)(66476007)(38100700002)(38350700002)(66946007)(41300700001)(8936002)(4326008)(8676002)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VbteQZcBmRpihIhsPUKH7DphdzmdYogfhDB6cyNJA8E8Z6J53XAqGh+qpXCpJYRRVLzaAtEP9I8lCx9gP5hw2CohEHjZ+lJ85e+VB78aHCXxa+y8vBN0pBPKTMoMB23q0e71pkQDe6au3w0qAjs8qPGVPd1cP850CKbQS+9liWrFVyhQRxbofxlA+If4JrKp/cJFq/zcJCSBnmObSU80cVWy5EiGqpybNL+WE2FjA8CjgAsDLyQN+EPcRZdct2/c7mJw+dNIu2/6YZg0zGgOCa9JBcSo+6QsoHQeU0CS442kEsuvEwx0KtcU0Xeg+OjPnpI6zWxe1/TV6b/zs+tFcCjQWzc15FVTMugR9bxSIGUztiPiSESzc5Wy8Lrkr1rWhcBjLMm1l20inmq717oLhv3HnJYQUg5y7ZvzVk1H7ISSI0A9B2RtxE0t+V6XG6GeURT4mqwLzgYOQGEsJRwvvHfrTZB7SKG0HnPSNnL9GxgDBi3wX4C5uUskTcHVBT16U16HpiMGqfykwOMWfVI/+RHGx72b+VJq7tbXX1+Hip6PNBbJvAAOrCm6Xg2+Gy7TKZNc/xccaiRhqZkbsr9R9IK38ocm4g6PipW8Tz1X3gweUHpr6nNKAFXQFYAa2uWpSgiyrXZ9b4EYcVXS1k4HApmeKrqS8nqQ3n3WQNocNOZB62wotbkrT0ayKzN6uUlzwMgUfThRpXhjsjN3YGSKmLjbGZ1NlcDx41vwkgvMqbs2Hrrla3LpqzEQDu22UX8gpaPzRHVEVj5oGwEqaLyyQwuyA9LeXqQuKMMVmIYkOmI6zNAH/HyTr1xjtRShVkTQFKECuCg4whBwCY3myS5GHpSFgQDKwYJiel8GLGikbxGdj/unpUgfOHErHf6iPyBb4icQZNyPdsbI5GdLBacoftTws1k6bont1OdfsTS9e98Ps/azRH05srjjPWtgOdpuHDspn5wAkQSenhAnk0/0GxSI5rmwsL0tsrrVv6lzsqrKoJlusxJz/1RNE3hiwxWnv72DM0l4jSK1ttmFb8fDe7WiPhgGm7QWrjA1d/yC8afT/CpzIRF4TTxYfd+nqnWyoDJqYn/NHF9ENe+UnBgyDFkLTDEhesT3SDM2ZkMo/bHYfjsIoALFIClVHyqtCbNUtvUrUOFvYjEObeYMexHaJnOUHcXu2RVGv5Kilm7QwCkAQaSMrdOcaz4+H67t0JFvw5pal8k2EmyLYtLL8fQWuqyBtrk3cuFnS+mCFsY+BbLrS9yD1yThA+hh59KE6tkT0Q111qLmSXFZOdkV7k4uL0z/Y7gqcn4BcNeEVZFp/fO6KM7h70E6/n3DV0Gvv3JvtsSJuuwdw8yeZfyAQ8ykOcPYL1yE3YMXrFinpYSUQo4fnmOOzeQ3QyVvR/4nGAsN5PPGjSxTwmOQ5jfaocaIMQms8e4lLoh5RbHYbSBvMeWMTuOxhUtHCz+jyi+VtBnPXMbszxqwX1FA5BpZsmjUDz8krc/3Byi+Jn25t+zsc18rfAM+fy3q/gdDp1GHgd1XnKgPXbLLeGxU62w4QJCl23Z+4s6QDz1Q+EL4PsK1FlIvIZXShAgUPXmk2t1O7Z0v X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 238a9d3d-9d16-441c-357e-08db76dede13 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:19:38.5083 (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: zaGkTf+kpo5J36+0y6atmuVDAZmd0fGA1dfGwzFgpdTDVxc4XgV6eLY22FxJGcew7dUPofKhixTJwMNGqTRICg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4289 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839683973701875?= X-GMAIL-MSGID: =?utf-8?q?1769839683973701875?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/st/st_thermal_memmap.c | 4 +--- drivers/thermal/st/stm_thermal.c | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/thermal/st/st_thermal_memmap.c b/drivers/thermal/st/st_thermal_memmap.c index e8cfa83b724a..dd52e1b9d925 100644 --- a/drivers/thermal/st/st_thermal_memmap.c +++ b/drivers/thermal/st/st_thermal_memmap.c @@ -101,10 +101,8 @@ static int st_mmap_register_enable_irq(struct st_thermal_sensor *sensor) NULL, st_mmap_thermal_trip_handler, IRQF_TRIGGER_RISING | IRQF_ONESHOT, dev->driver->name, sensor); - if (ret) { - dev_err(dev, "failed to register IRQ %d\n", sensor->irq); + if (ret) return ret; - } return st_mmap_enable_irq(sensor); } diff --git a/drivers/thermal/st/stm_thermal.c b/drivers/thermal/st/stm_thermal.c index 903fcf1763f1..d72e866c0ab9 100644 --- a/drivers/thermal/st/stm_thermal.c +++ b/drivers/thermal/st/stm_thermal.c @@ -392,11 +392,8 @@ static int stm_register_irq(struct stm_thermal_sensor *sensor) stm_thermal_irq_handler, IRQF_ONESHOT, dev->driver->name, sensor); - if (ret) { - dev_err(dev, "%s: Failed to register IRQ %d\n", __func__, - sensor->irq); + if (ret) return ret; - } dev_dbg(dev, "%s: thermal IRQ registered", __func__); From patchwork Tue Jun 27 07:17:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113291 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8021933vqr; Tue, 27 Jun 2023 00:57:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6CCNEtToR7CNHXP/UGIQ29+5gXySt22Q2flGL1ukIchL2aC1VYZqhE5ufZai8g/AJnabXv X-Received: by 2002:a17:90a:7102:b0:262:ded7:63d with SMTP id h2-20020a17090a710200b00262ded7063dmr5629812pjk.17.1687852667010; Tue, 27 Jun 2023 00:57:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687852666; cv=pass; d=google.com; s=arc-20160816; b=yw0r/FUCOhkzduo3ScctrnAhT1yGgpm3R3o4fMsH7vwXC85mjxR9gOjU8pGSGbhKTD ib2hSro4VU2+T4wmfx61L+d1ppv2jbo03yRvfvNtoKRoVKRt/KuiahdZjoQH9NrVXrx3 u5mw7osaI3B1j/CEV/Mmgp3MeSiHIcMVkpRoDhNmJ5a4KjFyzQBG7ReSQI107JSYD1ZH +tSVYj/A2CtEskpzrxdenNXjj0Zfb34qw6Hb5HYd/qeEdwmBHFU3D3ZnEFVNwhrcucml Po5b8XFZ9DijcNCM3SC6BcKCzSISNnMrbQephD8LAU50CrHe1URTLqe7nzdxVbYhzl4V StKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OUTBeRR7HOpprFxmVjklLNxaPINBXQ4D0vNvhK25J0s=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=amTMra271OneWEtNzUumbZzc8RkL7/z7UlOCkaOkulBxyuANyYjeqVUeBMFA+MbBhb OeJPPg9qZfJBzmBvtzrYi3QurkLul3gAVsyy/BMAXo+HBJlN56kdslhVCBHQCnpk8SjR G7a23zGRyXZJRixOLQz/eqVdeV6Pq1A5H+DGSL+s4Xjct5Q4QAn4e1Pcy9yUMy3KXxfC 7hhuxwcO2WhkDdQ/9Je6e+/VIfoxJtB1YfEYDVFDly6Lr1z/sy8Fa9YIApsdG3/IucIG 0/PbxVg3p1fx7P3XU5PJkcZGswDSlBQns3sjJU71XzjHkgUOACrmy5jddu8FFgoO+FIk VLjQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=Fvl4lRKr; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a17090a800100b0025bfdc637d0si9044063pjn.147.2023.06.27.00.57.34; Tue, 27 Jun 2023 00:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=Fvl4lRKr; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231403AbjF0HXJ (ORCPT + 99 others); Tue, 27 Jun 2023 03:23:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbjF0HWe (ORCPT ); Tue, 27 Jun 2023 03:22:34 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2122.outbound.protection.outlook.com [40.107.117.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D58C2950; Tue, 27 Jun 2023 00:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KozvCwT0Lzox/yVWGwCFD6kNBW5z/FtI3JLFN2eyYf0oZdt2SMHm9RZrxYh8r8DAEQBOJ5H4jQgGAzqUOUtj/8uoQZbyeX3jpyT2zAcaGPljy6NTuywnIdhhcrAxtkhrV8fFKAtvDggKWc9G3VfF3jVdDXUgwviLS8cYWHwRo72mXSDOTMfrWu4/coH1kWOPN7uOpmj7Fc1EMiXTSB2X/IIhOLxn1OXFK375REmRKmS9UU471nNnfOIFuqKqGpWixW/vFQPoIsh+nU8y+zf0xxr7wtglWitBYOw3VNbmbfBMRTEEnClBHk7Ah3Qgps3UomYQsBYm4NkO/vJ5UzKDuA== 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=OUTBeRR7HOpprFxmVjklLNxaPINBXQ4D0vNvhK25J0s=; b=OneaE9zcsr7/BU5qMQlDY3q7fvhoHHYnacYv178Y37WUCQx9O4S/da5/QerCHHE9GSRIz3GBdKFjA/C3u/UT+smw+7LAKeNKLoE+3DrsnNH/UcKiu79BzPo4UZL02AatUfGidrHUh/Aep6TnN17wh4YypuKh4HTYhhqgueyMAIXUM5cvW5BAdq61NmHe85amP8E8HZvK+9kqDasQELwtvQqqpmXu04U13vH1YGLyt5GMRI5d7f+JVzFBqU5+/VoQ402I42cyITHo4zS8WSg6dnZ7bMHu9XEX9dsD4D4qibDfczB85J+CitrIuIzaoIz2lmSMjhTjtCOwVb/FRnCS/g== 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=OUTBeRR7HOpprFxmVjklLNxaPINBXQ4D0vNvhK25J0s=; b=Fvl4lRKrq3qzD+CU0wOTwx6JNElpwQdnJc1tAgEh1H1yta+m1gKgxsXf9T+Wgz9pgB/7JwuqAdQaTj/IddsNHSWshWq6AnV1LI4lR83BBaJIly7SKghXzdj3aAnq/IYu7m2oDmQ3zgFdfvCQ8jMHJ/nNPLPaGsoFpAq5Qx0EaeIg7KZ7CKg5Y32j5i6bsChlqKuRaGDgfCex4ngNWl7I4k4P0kFOGwpw1pGSpUEnBk8aMnWh/isGmf3rhFHGBaUIb34tlMNu2pDDpOs+CCqrQT83ohxBVunMydAoPbEQrHFCp+1Wq4oZtzjAPlvsqu/y7qMbv/OGB4bPoaTNLT90hw== 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 KL1PR0601MB4289.apcprd06.prod.outlook.com (2603:1096:820:78::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:19: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 07:19: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 13/15] thermal/drivers/rockchip: remove redundant msg Date: Tue, 27 Jun 2023 15:17:04 +0800 Message-Id: <20230627071707.77659-13-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> 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_|KL1PR0601MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: 7a3247a1-99a1-465f-1c88-08db76dee25e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SaVBky6Q8Gpz1YO3/MaXPvmzu4zoldqWarh+7hGDYoa5Dxli0MI9QowHnESa8r4gH+qe9z3zHq4gOANS4R7mO4bJHn74HkIPVZEP+KzVHkNQoMqpsdFXTtWwrNcdTn83ecG/4tMbPISyhY8IP0D5rHmc4sJ7K6BexgRjxR7TNoy4Ft63LoE9NKMILwGUuSl6oGhkIc+v2PcNaEJC2YandQIVi3cArmNdKiJWx0//fGsH5u70orA1/IHx5R1OdYKXrqD8ruon6ufSYZ/SrQOlxKQwFCig75md2h7AAlMlFkS18m0A5r4z26YZuHUEQfXRfBCZdDQDhrIh3kdqAMgvyCwZFRXIGw5nwxJQgjQy2EZ8m4bmOQ4DJUKB5RNVf4Ee5l7VtmUh8H12QlJLEV5Wb2taImTYm98Ig6Ovdz74ll6eTAUHA+1Fqa8XjNBA0ojAHdvfSfoFuWFlZUKdB6z5alEs3hwFxKRMn2k0wuxB+87bKBj8pmJ54stZ/GBhtlKMvfo6mWdoww5RXPVorp8qCkGpR8VpqB/BO1WrSFGRjSkthiv01pBTLVyqbWDdWYU9Kp/pemhvZdREgQsXcNNvPhB/eaGznMXIT9zDt6TR8r3qBazooYlvkDyp5VxWdsXNlAD0diMvVFpdW2F5PMk5ew== 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)(366004)(396003)(346002)(39860400002)(451199021)(6506007)(36756003)(6486002)(478600001)(52116002)(2616005)(6666004)(83380400001)(2906002)(1076003)(26005)(6512007)(186003)(4744005)(5660300002)(316002)(86362001)(7416002)(7406005)(921005)(66476007)(38100700002)(38350700002)(66946007)(41300700001)(8936002)(4326008)(8676002)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PSMAeV8n/ZUTQvwDPVEYR/+ZxVeak+mn6ArfNswihtETSY3NNUvnZj0f2OcI4MarRCfx+ySEvVYxSn/09jEzW2juYSrGwg4IWGaBOyOpQXVJlyoOz1O9cZjC0lCd7tFDgX7+FHUVbf2bDncxJcnSG7DBNOl8qB8hYsjkqrtl/vKh3tEfG96WurvYcRsfLZHT11vW1447ByrvEaaaEOpY5hjdLUb3ZygzTwEoAiqinc2pK/mnjcCPRBNp7AwNxpEp8cRXS3jTkJ3lGOgWjcM/qOjlIoT19qu9ZGd2vMNsULNZ3IUkckuOpl/HMuBlJZrfxwzIY0nP9h6i5HquSTcjgj+SyjzSMVPpnKJWEd02khBr2LItYFllnlJ1vtgYtbPPa/jtsnS9pEa7uIuMAAaJLdr+50ZuM8HZi1HueEyAlhgJHmPEbW6f8lbTMcHSOwpblc3pFD2V1uMgczBczEjBcWmiIxBgeQPHrU9e/Speafv3jvB79gs0ccrK8G551O0hLHtTE6skNkeYRAyFoDtuaFYXOjKku6rN89LtizRKUyz5MEqeeq9SJHggeN/dYl0dOUyHQBtYNPXwcPKEZcefrptaGXrNfPVGQ7fRxSwfGXFnhkuqk5kdlfpP3scTuLKpdcV7gwyRT6kYIjkHTmrkOm9f9YdCoHT5hbnD+mh/EJO3wupWf/uhuQO1WzM0cLLi7tnWAyp8tkwtohpc2QJ76YkDsLA+cza19Tvg8eRlbh4nieX5a/O1GpYfJJtDTZqzuNaMxlMEVaM7uNknH65Eirwjrebr3nu/yIcZoBHk5OMLBxQlQ8EVyK14a63XTkWC2tmmgKYN8Q2j6Zpxg8unwTzOjgMbaN8fOYMOJcz9ym13CjLYOxerHSJKSlfSodRC4ld4HVrVfiED3YSpBl7MrRNBuRxKYWvnI3i/geKhzYV0M1pzC9YGKQeORK5ipbLGxrw/HEqK+78FvSPq5i8UHUjgSnuQGIEA2EvJyX16bI4gZW1Ozgj/QegmYh9d/Hp3bsSQpoUoR5CsJA6YAGYseH0YWNE8Ps1jaOIvnK4W1O6LlJkpfizIFk177K57PjlNwFZaxIlhnsU9iN8cbbOj04fBZJUJKmxaheCv0EyDLGtr1K/hziN2isIjMiYhQEPeNi1keF3x+SIIw3RMzP0FClFqtmvJmxR2T8THRjoMbmEV1NVDknufk4Ktmc4kOipNj7VTdrVlGk/Oxs1H8eu08NhQk19IpyuC871vc2rk12pEnhcz7MfEBh261VvD/JXlX6CXMhqRzSB3CkK6y9FWxRJq9eliwL6puQJv49tQHguk0Wnh2sxzxw77o351QVQlEwWQEHEPe/371eovvutqqAKYVy4XrGc6m2vx3NDWwgzt5N7xJHC+1W4ZzSl8aTx8zKxfeBoJCWcmQabpRwND5wgXRvVTTUyJrqJNr74R2kZoscogyZjPo/NprPlae5aPDpOWh6Rb2O84+SAF77bimlguCfjmPbzTwBKH4NZfeRweqGatlJj28/4dfpal+NEzURK/DCWCfcR/bKJH/W0LWDvpwdTBenWAoh0zUtpB4KPCh1cYUn8u6qBJLDAx2PV+ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a3247a1-99a1-465f-1c88-08db76dee25e 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:19:45.7476 (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: tiZBkFUjolTHXGzX7+Mwt+puZi/vwqZ/cEepWWwT+daO/FiWC0z3bEx9on5MyYCkuIz9pLww7RiqvV3isk63Ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4289 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769841442637999345?= X-GMAIL-MSGID: =?utf-8?q?1769841798187574394?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/rockchip_thermal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index 77231a9d28ff..e741f5539389 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -1582,8 +1582,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev) IRQF_ONESHOT, "rockchip_thermal", thermal); if (error) - return dev_err_probe(&pdev->dev, error, - "failed to request tsadc irq.\n"); + return error; thermal->chip->control(thermal->regs, true); From patchwork Tue Jun 27 07:17:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113282 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8016260vqr; Tue, 27 Jun 2023 00:42:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Bl9Q9eFumx5BWXkjPFGVNI7Sc/YZ4LhFM8rbjYOPVL2/3GrD/g4A99x/a0QVDHlczErcw X-Received: by 2002:a17:903:2308:b0:1b8:142b:fb5a with SMTP id d8-20020a170903230800b001b8142bfb5amr2678559plh.53.1687851747447; Tue, 27 Jun 2023 00:42:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687851747; cv=pass; d=google.com; s=arc-20160816; b=o/2Ft5XHCWZVcMh3WrmEZWzwr9z5oXl3A8OmPpJNoyUccpaYcIRQfQrx9RmHWZVEnI toJPVcN5w/wOxJ6HGCtDl4PXH03t5QnaRx9U4m2Az2pu94AmHKqrv8zIJUbItckk9PMp 26ickeDfZ2dFl0RN148XhvLDOya/Cdplk36VNCDvJazdDi686AtiLyYKjhML4SSOgp8G TjHgKFcygriJNljf1TPHlum3jBQwPVn4GIKjh51otrPAgZPyTwY4rkv2m90tVTIkxwQG 0qfjCJ69EX/2YP3z7bacp1EtCZmjEVfxkYxT/ivC5mj/9stlSRTa8WTztPallHeJ+Q+5 zmLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ipZ7cDBYNNdoKsVpnNoptSlxnJGUlHASlE123uOL6N0=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=bhdhO74GtMRMwzA5anqoUbKhkbFLri4TlDQHncwOHPUFjKRIyISxQLWO6VWq4PRGJf iw+xi9Gxz93vfiS2w9g2k7/qRQZWm+nmH9tlAi5EA9RwTVFPWeML13qGj2M/fbCHkziX XTQGvl/vljbnVkU63Ud8Tx5Kyu2gP8pzm8OB8r7vZgPs5eL7IpJFUjO70XyoGxlDgMNl wULaoru4GNNHY954bCU8lAK0Yr+k8E5VpFW7Wyo5puX6fk8RwmGXIWm9tl5MlgAIH88J 4Nbz6as/Rd+AGCNeQTJ8ZFyCQALo9vrMFAZMtGccO0Cotu5mEtgeP0ID3p/tv9UPzT+O l1Mg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=iyllgPSe; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a170902c41000b001b7dcf3cf30si7440919plk.80.2023.06.27.00.42.14; Tue, 27 Jun 2023 00:42:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=iyllgPSe; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231317AbjF0HVz (ORCPT + 99 others); Tue, 27 Jun 2023 03:21:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231145AbjF0HVY (ORCPT ); Tue, 27 Jun 2023 03:21:24 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2112.outbound.protection.outlook.com [40.107.117.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22BF4297E; Tue, 27 Jun 2023 00:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BT1pgVh8xUtQBEDpuOYDxqmM2/OjdGTV7cEG6hc6w3CXpPnW1LIJmyKkfNeWTJ5DhicZoYiAbCPSriXRo2DxFT+B4+3ylRgl4H7Kjg0EikbiWQZpwondB99HatcAHhvKW5BU6MDD7jFZBrwzbRysLPcTnmRgkFbyg5LSm0pobkSVc+iNCQQX3ZtSkqrQB+UJyJ0mpwXLE+z9BjQNY/Y72om02kIbRPQO+jVlLjbMBPYZCk1DP7L8x6wipeRSQqvNFj1o9ZS02N0mHyyRUE6IeaC9eF3pIhglvnMXyAPs5IdkkLJzqLxHYwMugQK1rHm7d6TQ6s0OeXhYd3Gp0FLBxQ== 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=ipZ7cDBYNNdoKsVpnNoptSlxnJGUlHASlE123uOL6N0=; b=iPtN0tL44SjpHYgBd03K5WmAxwvpWtjI/BKyjUCZenT96zunHTfvbCe8FN6wKnJtce1nOhXnSghLmUEugF97NbVgKQUlutWTT1FQe/STqFAeJzpLuvYQYNlCDe7S9GxFTz6xLkf2B1ZJzQnrU90O80Sk5rlzTeqVReVfm+yhOUrNq9pIVZKFxweJeyYvmAJq4MTktk3EyUm1ojKdjm8xj15Orxf8r+5i8TFdng2FG7f4E2uB87cnCVMiwQxiwSA7zie/DscaNqb1z93vGAUnJ4B7UqifiKMpL9MykQ/+T5fgeev+lndEyeGqdJHdWWazBkSxeYIFapyfuy4SaxukFg== 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=ipZ7cDBYNNdoKsVpnNoptSlxnJGUlHASlE123uOL6N0=; b=iyllgPSeQC9yqhGTM1S5qIZlA5BJChC3irEg5fsAZBOGfVE/gLIz9z+1+j/aTqRIGWVAZhrkZk9Qvf0KBd3rutjFll59ILkJWMdPAp2s1zBBKHd39mhfH7Hn9BUXBx0WSvJhZ7dXbZYXDXFa1IuKsei6h+hSkGfKgxvgIg7sVjODLPqqoR+iphiKX28UJjRu6b0Ron1nVqgTxweehu16ZFhDhjTlKxcBL9c8W/88SJQRMNII7QrywtqWmXD+voqh1XHZjkzc08+o69T0t4rVsPUfj3s5JdN436sbaFYcmnlJUXaojvfdhiqBNl0dEviS+0i1X10D7VXuVxRTr6NSdQ== 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 KL1PR0601MB4289.apcprd06.prod.outlook.com (2603:1096:820:78::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:19:52 +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:19:52 +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 14/15] thermal/drivers/tegra: remove redundant msg Date: Tue, 27 Jun 2023 15:17:05 +0800 Message-Id: <20230627071707.77659-14-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> 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_|KL1PR0601MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: 05961cf1-58f6-47e9-44e0-08db76dee666 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +Y1VHTqbsbyElKys5nKiRST6RTqLXGOLw2707gxcihmQm767hBqrRom2+qgnWOnc4QVQvyB9unr6FHyZrePPYQKFWXFuyjI7I2w7P2ScFWY6hB4kjPfJb6Q8dPCpwt7cW/vk6KpFTMr071kMzOOduYGG9VOu5h9ipYOzyXjXgSZkz2kx1mcOlesyPq/3vEoBjhp2cKGTgaT9xeWt083NQHTq4xDUwpMRwEQNLmkPnTjlzsGqTexQdHG3MgGk7SKuE5q/mTn6sLbWwOoPzql2cYRiA+nCTdo19VkRHV44yHYEWCn+kmJeUBq/x5gf+u1kMwuER8i1uLvARWkd4JeJeeEYYRNxCkHaNdtPhT1NkZn5+vhDnYr0X0IN7HCdaDJvPb9AKKSLBwe39RjJQjsgSGWcj1+n2/zJuiRB8N8t0wl+2PZRWG59gPViCVYjvLjdOfwBJwb7bC9t4NQAKBrNYQIhc7yYfOV8B6Z8r7pMRtINa7YD1jbYGkHv5LSo4fVxR4NMwd3qxL0jDcs9f3OiafiXWwBZ9lDl2mC6SpRDFguB+gAIrSRxpvTYdgz8L0Q96X9yMWaXXrx+R12tjmUkDb9n/wi+KKqy8Zu/aMMEmZp9sasrbSI4sTfUV4ns1xKYblcSBYxghZP2xZJAiWTKsQ== 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)(366004)(396003)(346002)(39860400002)(451199021)(6506007)(36756003)(6486002)(478600001)(52116002)(2616005)(6666004)(83380400001)(2906002)(1076003)(26005)(6512007)(186003)(4744005)(5660300002)(316002)(86362001)(7416002)(7406005)(921005)(66476007)(38100700002)(38350700002)(66946007)(41300700001)(8936002)(4326008)(8676002)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uG+8QhCjxo+LGD4DSQGQOo/AkFbc8SveVqsCZglhWdKVH5o23w2f/TDAYBYq1x8+An0fO2KYDsCf76akJYfcvGCJ+hJiNdvWKa8Mqb29fshp3VyqzD1C11NNc32H1ddfGCftKrW00/cM1H3ZaiZQkbeTymm2mNmVRDL7G95nhpeifuolKuJ9gbEbhN7X77Q7m8FLNTNqRNWegP8dohynXVzFKFWhGK+EyHiMmqjRKKv0A2qnjtStnjAnFVunUyPhePLdpFteAm7hkBgIgX8nvPNJZTgWZl8TCGpGzVLv/hw23VYMhRV1+AQ99Eo8Z3vOzNVnC+mWjQK0uyy0yxWIRnLJd3jqCae48zOYZb/sEVYziBgFyL3mu8i7LtSsb4UUW/8hvKsrfIrt8FF6U88cREk+N3njb8yS+XP1XygU/1sg1DMw+fmHG+cpA4/8gIaRNTlXrwTZDOXVGnAUfOrCMb9PsB3fo70pNbMIhaB4YiV5TUNFw9r9AUGuC5N6SNYQvPJf8UDovJprcZaFd6aJu8ujsLUYMhsDPlelN1KaVntOwz7vfWIEzR6kSQTx0TAhiO/uv1BeSY2rEu5RR3+pQnpNADd+n54Asd+CeE86NpId9VM36QK1RXObh4x6QuJssT32EBMwRn1C3Psr/cABQJTg/aTRiJeeU+v6ovGoOvaDD/lCxMLBXzY3jEgRgpOLYlasr3CONrhJXEdmnkTUA0ofHHSTzX0guEcpa6qqr2v1HJQVbDocB69II4AiTnAQheE0du7vQ0LTnLZUaS5BlKGfQPc+CBX/JM0WjLNcEXtr8trfs7DBScUAfvzx8Z6XTT72HEZGBdCxysyM8dVv0ricGuhO8Fx8rTarwWbie/x+Ov248miYVAp15v/TU5lN3w+i7WUkXN20BRdRlsH5TXsUeRi/4bswWonm8I2Vs8/jptB5kz8f8Dox1lKCPdG17otdynN4Ug5IuTOv9tQuWtKM2jctiG9feobJwpAkVHVfNO5kdE6lbvyZQEVB3ApCjX2FuyVDO/89H2B5d+6EGObs7q+BVfpFp/ROAobsvOMo4pUK75Mr8ZcqPHZwy256HCeuBb9p+GpTogjNS/BkmVc7pU51q1XLtNfjewG+H/3HRWpECCHeuxw/UtncC1X/38cNw1pJb2oE/beD1fFA66LLGlc/c6op0SZpwWsmakcXYlVHaIaaTnfXUjMJ6OKG4Q6LB/nCsk+sL7KeTOioQRqUTR1euANPkGFo1PVjye4tz+PwpwHqChWR8w8K+0LkqOOVeOpD+LHcMqstPfmZJqHlCoAFAxzljTWKpKSJBlA1qMf3zMVFM3k+0ya4n7opsUpqe5BcgL10F/N6kotJTB43vy4UX/wr3YXShQ6BoseSg/yeI9H5vdiQPADoVnD/llfz8DBd5BVUYO0nFaK/u5rW7jWv+jIXzAtbcDom4BHoR2P7cxWCOcXUcfkNdiIgB5jWHqk6nvqaXk6G0ybflMWGgA9BBhm+hcdDu9J96SZCdSCkHCDzw6US4pmSBJI5GdKe390tpPAvQTOSs2uaONqtyPHPcijhHH7/vdJnFw194qST1PIbWL3u5FzeHQSP X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05961cf1-58f6-47e9-44e0-08db76dee666 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:19:52.5051 (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: 8ekrBh1Otf8kthZATVUXhtUnoA6x8fmcIaeY3c2Xxk6b4DtBNk9mldNn3UG74EdtueNSaS9ruaerc8BL93utSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4289 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769840834121097663?= X-GMAIL-MSGID: =?utf-8?q?1769840834121097663?= The upper-layer devm_request_threaded_irq() function can directly print error information. 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; } From patchwork Tue Jun 27 07:17:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 113263 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8008391vqr; Tue, 27 Jun 2023 00:23:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6o5zpKo+sRhPKbmY3pCyqkuHm2zZ+kdHOv3NDOyozI4Q55dTJkzZzxeOgjFzPqeu05eM+f X-Received: by 2002:a05:6808:10cb:b0:3a1:eaf8:ceea with SMTP id s11-20020a05680810cb00b003a1eaf8ceeamr4210579ois.44.1687850603275; Tue, 27 Jun 2023 00:23:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687850603; cv=pass; d=google.com; s=arc-20160816; b=M+bCTfyaj2NkxJy0JBwcmIh9vH/QZC9ee2TInObp/TY+g7nlBq+xX/uEMn2/HEnkh3 gHIfpad87Xe2XOGonJE5JtJX3zK8+J4jYOfloWJWHx0gWb2R6Tw5ngJaR+OAc9xwYj6e WT3TXgN2MU+qLc52mpRL4ayoBnM6X0aIyrjg2br90vh8ZzNam12oNn4KKoJnlvOOheJR cYA3awbfQ8yeurdXgbuCc4rgWZ4T0Gl24jQDV70E+I+xx4/OXpAhYIqBc4EgIX9QxjMO TOXdlSgQkxuVu2LNocpZqDWkOgSP62B4zidioGZK8JXEbvt/XIRD6NV4q+LdT01tcPzF fA6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CNadqL0WqyqUBdkAuQcsi37js7GRgeqx9jrx5etaUws=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=MYF+awGAJC3CCx+mQrNUI1iFssVfiXQSvgNPFJGTyB8F7mXF8nnrtaMKSqRs3Absn7 ycGCyiluLS+zGCP/pYcFW4fTOHossO2Dw+wbW9z26kqNJ+O7C5ETyNLh04nSIOiXxTgs iYNV8qSNRJQ2ue9+7GxMsJzK/P/IC6Ucu/jbyPnntxHjKIYlOfsMoUdxGJPNg9pqRZNk OqKgEUiT39dc43kQEwAFRATn8UKQmhyoJhvuEGTRKfdnFp0SlVwbsrSEU8IgoKLRt/hh GRc1TR51+CvotQpnVF3rCZbDYCM1mhMeqxkNl2pvSF5JtlZsjHzBcAArSZdYWo7U6Dis hlkA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=WOlkkjcR; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a63ec08000000b00543b16ecfa7si6880225pgh.172.2023.06.27.00.23.09; Tue, 27 Jun 2023 00:23:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=WOlkkjcR; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbjF0HWE (ORCPT + 99 others); Tue, 27 Jun 2023 03:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231214AbjF0HVk (ORCPT ); Tue, 27 Jun 2023 03:21:40 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on20729.outbound.protection.outlook.com [IPv6:2a01:111:f403:704b::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 490202D63; Tue, 27 Jun 2023 00:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KrXBcy/Iy7nHI18BgL2/2UlObyhVYzK7BmcI5Q1zyPvig1A89fTNeSiIqD9TV//6BUFq1QPhZJaPK9Li/7rwyjsu5aM0DB4dI0cqjd7EapfiJ1IEGAILuCrucd/YZebchxktPBsgvSgyts25LCmCUsrDcd78fDEgkBLUod06N5XH4Sm1g0XlrHVcKOA/crkWpfFGU/ui/qhu38P3qfhnjErDJnunEWLUinxSv3AaMUUSMi7vXfmJqVbVOS2yqCEsNsa07WeA8ZbIZ1AaX5GWgJoInwbh3BX6pA3WANR0sFSYq9TFxhXYRHu7r3OTx7J7G3Bek/PdC7Z1bOxl/eXUhQ== 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=CNadqL0WqyqUBdkAuQcsi37js7GRgeqx9jrx5etaUws=; b=b3e7WurqVXp9b48LIl5NMzsPPBL+QEbUR+JJDAewjlHZCyMKT+zbMYvwC5YKxoZMnLbvn0lPxqeK8+spNbLYlSCEnTJCYNbxw+PLFKmt9ZK6lmWw9ECJFrtfELRUyuaQH4EAAWUnFWQ6fw4wMgpJjCPjRK0a2euMv6Zhlki/ewD+/D0fqK3XNNtAWPv4lnaoWEUGbuCEahOPdHo0tpetF8QNES628xdQu67n1T5iaNcTAUABjIhUqzgeeIa2sWZF9/rSMns24xRbGq5vEes3S1JPPTZtoD7fQAWfehbeMZV66W0EnzebSFe+6UqTcs9DDQZd5yiHtNmDx9AOHDa7Pg== 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=CNadqL0WqyqUBdkAuQcsi37js7GRgeqx9jrx5etaUws=; b=WOlkkjcRoqiMG7FaktUt5pvvFGqfxMuRjFyFf4dcrOweX43hLDW1AIeWRwj1lH7pOij+F5na3BNNNNvXAQPfiGATy87PZoF5qS1YcSeCUDjas89UBZdkGR1dCCmEfOV0ivp1XmsDmOD08HnMHTu2uQxH0e89PlIVjbGbQLpRtRERgb0zV3cTIBSiea0Z+TgAojvetgtzP71DKu978qD3RCxMmkSfGy6jISTWTAlfP5LOqnx/LvUft0EMmcpZSnk2hh2mXIV4qfdZnkG97HT17k2X7PBsRneuNa779XuupEzyOEb3ZSVRsNhGEIMeCYWV4/2eCsm/kQimPmfPi5AjRA== 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 KL1PR0601MB4289.apcprd06.prod.outlook.com (2603:1096:820:78::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Tue, 27 Jun 2023 07:20:00 +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:19:59 +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 15/15] thermal/drivers/mediatek/lvts_thermal: remove redundant msg Date: Tue, 27 Jun 2023 15:17:06 +0800 Message-Id: <20230627071707.77659-15-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> 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_|KL1PR0601MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: e0d8f096-6dd4-45b8-171f-08db76deeabd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nU2p+ASGFvDR5WKCJNn8CyNovmGR5Bz5em6VjWVVpoA1PPsi9y7175fhKJITlNjBryrtTOfvLcEUxvijJNL1XbKICSQGH93vR+Xsno6Q6qACxVDQtmnykJiC53WRSMre2jhVBLA+6CFboGE6rO06yrs73fMivMZrpq6gMM8FxdPxaRCvzz/yJS0N3ZOiYXmHaIV8HX1BUvtT2lKBZSMCfhPxVGGWjUc4e/PBWiogfK+5AiCkFQFkaFuHAfWkxr29QW69MhcEcumaTAxnQMCSviskq7tg63xEgW9Rq1y1jROOeAw581DhnHv1E8lKine8dAEDfug9koF3DjR5G8o7o1I5olMb32pHePGofQle7TwYUugBfm0FT50lUW6uFBqbLtlWvXRwm6y8W4tT/nLp8q/cPwqXN36mcIVU11wWDbvaRo+sElKG1Yosigt1+QIOJT6wVnUNVt6tdDyM04kFIxSdZHurpPXJjkacmqZ/qZjt0n2/04XZisCEqy6CQsOgf8pj99M7Cp6bv/EBJ97Dz+Hgu9xwuWEcaaRdRPLfjG9zHBEqIxBe0hC6PrWh8vTBOWR6CSu7BElG+Mi74ubDs2p9HMghnzKsbRw5u+pnc3Fj0uccse1qbmc9XxOmFgvixrCzlKpGN4/Zkz8xOgZ9NQ== 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)(366004)(396003)(346002)(39860400002)(451199021)(6506007)(36756003)(6486002)(478600001)(52116002)(2616005)(6666004)(83380400001)(2906002)(1076003)(26005)(6512007)(186003)(4744005)(5660300002)(316002)(86362001)(7416002)(7406005)(921005)(66476007)(38100700002)(38350700002)(66946007)(41300700001)(8936002)(4326008)(8676002)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: spOZMpR7b314EGbX6EKO4/obELRG249t6lk9KTRg6wDctoISjrXrTCVefnWTsPDfvGW3ACmCscyfHRN0SAQh79EzPqzhKDHvbeLEDcp00YuRasafG/RPctIH6v34zHrQNP7V649S2sw16Uq92OTRM3N/nQjm4MgOXsZzDQgRdxS/aHQUsA+akpoxGnHGjTI8nNKsJORl+s8jkfwyP58OTCHXScXU9qRENF+ztnq3RkQ6O9E+FsO8ZpSQvmJZa5GwQMag9GikB5e1mCtXmYfjo0GloR0mvp4PF7iO0NXYNbvoBtWMOC7WW9bZoT8PLW58xyPAIfUjAWvCHCarriB7XzOaBPaM0WUjJZ8ppip3rlI23xWGk3sMF3yNRHrLXl2VJw6Ktc91g23t5HJJcxS5s/D2ShxcKfEOUsJ44uBkQUHkNw/N9V6Pwuv41USeTnMSGnFCsaTb8xW2tVwaaF5Dxe1RtrH9PYuL8AhgGZKFVC9V4zMNhY0TA4OAHi2KwbPfhIC1UjHf9HQCmtl/qgYA9qtci8f75/QrD7n3NoywUmOWhqe1UCKutXvv/hyfm+kurZYbrijxTrNhq8gh8XAfMArGuHj/5NxFsSuWh9HRv2lwhoFRly4SXfHMcphtapluuhqO8qTwuJdbafPmkDaSb9RN9zyDiDBJ/MEDknU+W2PYh1aqEeXLGRNWKVFza1S31WQ2S0yVXZttf6P2pYGDqHFiWLBjRxIof84qqdbjIJT3Xl1mHOxfVYIkrzOMm/3RS9+/mmerh0oMg6BlGZhFwOxl4/9jE3XAB6r7zcramuycaX01G5dhbEkOaNtA8PJnHlAJPda+HvWzYcczHsLZ6hb2GhVh2T9LM9Xv/Bl4vGcdxhzNHDBnUyeh2AXHiAD19SA5rGhR66bCX7MCEE3b7AvrPij8WuBldxk9Dk5Gnstv8XXPJSij7mvpO9SPkslvU0qcyKN9fnXCatTgvFV+ilUcC8fekv3tznGvHi/mPjNFXGgrgEAxKzbl5XKjCeNvDh+FT7U4keYS76nMyRSBxLJ10L14j7sR7B3bpR1gT+9Qr1dDXBsiheHqcNpRXswzdNQJaTOmFYKfjMKvjLJPCF8eQ5BurV/lg9KY+KO6p5FqRBkjYanKxmbHZDL61915IcTFChw9gqK52BReFGZzTzQZ5h7FYnbFIjPgELECt8oU8JdLvyxqUD/nXm20TuVQWiak0+s3mBpYp4TkzGekh+ISBtvSESX62o5sqdhK8axNiVM97a4OWSRfNCVvG3Tpc+YgCUJ7HVa4nOLy03hK3VKo9KRXKts4YRA43bmlsmPn4QNSwn4CYBCLiJOjqBXnhciqMofIybxw8V+t5EhD4NgtAYzIdqktJ7O1e05XF16zJCJhohkV+SBhk1g+VwXPlGnZj9If8ipi1MjO8R9MZd6Fexh9yDq4/RPswhnoEa3imyhsWgHOTMQ5j77A/CVIkJwnyPt0O6QFP0+64QeR+ZbAyL9LA6X9NVXcod94lLYwb4ryI1swoZL7whIgMk72AfJLXpG4T1JqerEldhSCb9FoahiPtlq21zdJ20SnAndn60WBwI/XggTNKLb4XCME X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: e0d8f096-6dd4-45b8-171f-08db76deeabd 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:19:59.7872 (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: J9oS8dlQKhNVcWkc9pJPLNfkXYewt6CrIO6FqRVNTir5rFa75yo9PUrVQvywraBM1Au6a+co+lPAgY7Q+vCL6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4289 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769839634228233467?= X-GMAIL-MSGID: =?utf-8?q?1769839634228233467?= The upper-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/mediatek/lvts_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c index b693fac2d677..bd503fbcba51 100644 --- a/drivers/thermal/mediatek/lvts_thermal.c +++ b/drivers/thermal/mediatek/lvts_thermal.c @@ -1151,7 +1151,7 @@ static int lvts_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(dev, irq, NULL, lvts_irq_handler, IRQF_ONESHOT, dev_name(dev), lvts_td); if (ret) - return dev_err_probe(dev, ret, "Failed to request interrupt\n"); + return ret; platform_set_drvdata(pdev, lvts_td);