From patchwork Tue Jun 27 10:12: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: 113362 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8101373vqr; Tue, 27 Jun 2023 03:53:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xSwfeBywcZfpe7/5zN2TO2sTA3nQZj99t1iLOFt7r/g8Kc9miG4i4ZvTT586iT7TRwSkN X-Received: by 2002:a05:6a20:8f1d:b0:125:9d2e:ae20 with SMTP id b29-20020a056a208f1d00b001259d2eae20mr9427976pzk.59.1687863183555; Tue, 27 Jun 2023 03:53:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687863183; cv=pass; d=google.com; s=arc-20160816; b=uNOGLg1tWqXyDeAKVpJ/BbyA8LtVdgykbLUvr5nUdfJnDRID1N4FGKzRxkCeOnKqyJ P/K7YOuwoaQdR75YdqT7mjijiIiUxIyh6I2P1DFfdKkcb8nfnOTBS1Np8SkNDnRdu3r6 Ku/KH+f9fuiq85LsjifgV42OI7pyopNu6SF3khY0/tsYLQWiWgOBFWnFyHDpX9Ol3kTs uGTq9Kkt2Vf81CK3EuI6vAKLT5w1f8tnKVB3v42ZAbTjO7huUpL5SQ7PQN1QSFgupG/6 6yTDIaj2N9AHYyF0txGlnDJeB0gQ5fgLBSrTrFB4/a3p7sorw7DK+3SbP746QontXDfR NZqQ== 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=sfY1vzl3NwLuD7E+/kToAKqFImiCj6mun7u3yCK7iRo=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=T21B0OVz18zMin7U9Sj3ECTZWpnjnwqOCei+rFbD8mNabSCC4HgI8hmc3/Ds4dQD7s cZguzLQUFCHFXeTKwuJA/4CnIjG6jwrcq4SZbfPLUktmJ/O4TE4zaR/gQUNdweC7X9IY O16nJ4PrgSgW/nQfWQD14hJz4ymvNZx/5IoXjlvcTmA82X1jgQIm396UHjEKfDAGXwKU Eon+gdUBgg/tGTWZv35psCVJURIt58csgjx5Bx5X6d8dbPvIXVBC6VtBnxmTpICN8O1C 6XbFY62eyRfaxZ2Sl2AJf3sYY1by1yNtPwIqTWBY1LhMZ2NlEAjw9yuhRApu6cQzvKob srVQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=ZOuLm5Av; 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 t20-20020a635354000000b0053ef469281bsi6913385pgl.474.2023.06.27.03.52.51; Tue, 27 Jun 2023 03:53:03 -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=ZOuLm5Av; 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 S231183AbjF0KMv (ORCPT + 99 others); Tue, 27 Jun 2023 06:12:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbjF0KMo (ORCPT ); Tue, 27 Jun 2023 06:12:44 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2110.outbound.protection.outlook.com [40.107.215.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F684E3; Tue, 27 Jun 2023 03:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YjqfaqlsJ9jBHJFlFLnhEyqgEuauE0SL4yHP4RXK/+DgtQnltmXynMSUAsDcs7mbcNZjix6d5jJ2SInaFWQS4OEvB1tMxyMonyNrEF37TBtty0jbmT0u2YglZ3eIQpLe5ovKOjZtTUKhSDx7csJdiYp9w4YH4uubWI3XPTk3kVl9Hn11/bDJeBZAqi2J+xomuMzNlAuXO5lmUk08cG+fM1PvyT3ighWP2EsI+0sZa+240uCrdv6iSRn2YGCzc/7mzk4oN0m8WR6tUg8ilxNsiJcQUO0WyFC8gPFWcZtHM1N96fm0nw1iAhErCUjAjXIsOLnQAR7hhRJ1aDsOzMtxYw== 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=sfY1vzl3NwLuD7E+/kToAKqFImiCj6mun7u3yCK7iRo=; b=nqaUjglo5OsLjT14Gn3dZ/6mJ3w4g4iL6sw9KDATEl6weT3asnWeMYThsVTthKkS4PRTQd+WuS85xubLkh6laCu/UHn4ec58ZqDD4YXPUOrPq3C9GqauUJJKpbJInjXr84m/IloyzDe2ZX7i3KyMCHNAt+OuyVjxHwJcZ25OYc6aW8HR2NgF6V3NeVrKh/P3rt++04GumW5vd/ZTKpXme1+hpXW2HrfeImBu9NUj4PktX+ZRAzTmOzX6859eYruj+wRC6AE2LxjSQxtmTVKSOfXLW8eeMsWi0XSVDjm+5pFM+K+ZQZUG+2jQD0t2KERlBrJ88cVdXp13NWeD5l01PA== 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=sfY1vzl3NwLuD7E+/kToAKqFImiCj6mun7u3yCK7iRo=; b=ZOuLm5AvDu1K3BL00kDQMb5ZtQq7aRgtSJzGG8eOk/RWGhuCOPn3HmnygQCbty11Dm004DB/RoVqem+KVi8jhqJFPfJ9AOQZOjnZ4ntgIc6oRz8qefz40aCn041pLQX2BhdfIa2wzUyQU2unALytA0UaGlTyoHslKTKbs74ao2BvuL9vk/K3hz0LE1UrPoNrgA9Nrh5FTkkELzEMX10d4t0hekb22H/m8bqMRorATANXSyDlbJz52WpcDo6Ic+LSDVx0Bt8wFwzmSi0xzGE2yhkvZoP9yzLrk0xvgbAIKgPBRhzZND2cQGvlKcF90i3xsw7r3oLpuo2Fc6pvBLES3g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:12: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 10:12:32 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 01/15] genirq/devres: Add error information printing for devm_request_threaded_irq() Date: Tue, 27 Jun 2023 18:12:01 +0800 Message-Id: <20230627101215.58798-1-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e44e26f-163e-4ff2-edd5-08db76f704e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 14/6qdGX9mxMVEt1HElkrQtsVmJFhRZIExHTDe6HMS09W75UKIy+sA0lX4lHK3Cb4ENcJsIFXdrwTcZp7/9/G+68zNFqQsf90E12eC6thtxzAQDSWSI3jF6A+zQGQPIk887ORETllaay4zKAvbP2cbHzLuLD2oWundOAl5dWG85tz8nLYjnVZrSF15tfTx7m/F8sfPWLR3KRurGFRso3fvLtWEaUkjdovDQAbpuPL8EDGqjcysAvb7RgC+Z7gAtpdoA7rzpKFjWd/PdHS0CgdTG1jJlCBh0TYTcPEmpMh3alFVtNlfZY7hl/xsOjCR80O0SCJctiK0O0mtvdvX5ORfEjVC/WqM4y4egIPyF9xGKh5hmvM+kvAxsRMvghHTV+KOLmm2w/O6rgJrVE60YrRIxSQT5uGQjjM0ELnN+stO56FrBSx1VYoEK/vsWeFJS9MoAqfmD5VvuTEPZyqIhva7nUK5Qe+Z1hjEFW25EsLXEDZZVOirwmbes05PlJfPvMB8+WQgDXBQj2tHLtnsHjFKXtXF2hbxxFibaI6Ej/Xat0JIysvM78sHg1c+cb/G2ZGfhbj42BNN7WqEFc6gKMwb3iIuFSPgnvMDl89+Nciig/AH39kwqGhCyR2372m7ZDf+SaT9Fvze33Bnt+hfHHoQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6J4lW+KWb5n8C/zFigqL3stgcyxjqgFJ3L9rwEFwd7pDSzjBWQqbYKK6vC6wsgaXPGRXUf/OExmhx+RD/wBV0RYJhyNLfBnZ6XCnKs/taDht6fak04GBX0Cho0PDGOynLcosvoMnVH7NoB8eQm5oDEFBuCKT+7+oMzUPlskTei8A9mP2XAFWl/08VKpDVVLxMMV9lZhXN/X4xmX+bO6M7Ok0YzU9h157bM3sxmjBlQKtXg9TXVwEee/OVpziMdVuCx5Ze21KeegstVs10AcvoTxd3QSyRajy9whJ3TLpRFO4yZSGKL5YkxYuR9qYWiXat0cmKHiWAUc6OI5om7VicY7IawytPR6bN+2L/ur/E7CaIzWn8q1wutHhYjOfuvnZq31CWKbK//trG5Ul/kZT9J/jqK4qqfso2Q9xJoTY5kqJRq4LdAFWQGj/Cl03QmWqiK6FgwQJeBGf5oCH1G/yio9jTHXbvq+ML3vA/ztGJTL2vb7N1NgmFyLXoGlFsTv8JybGidDy6MIeou9Wnm0Gsx8uYmvFBDPncSEVfEByw4UrF5YKDq0+2sOuWV9Gh5e6YXkjQt5i5EB9nmieF6NZs78VRHq6l2T7Vb91jwSwc4myEcFtED1EL+yQZ0jrBc0rq6y97rzIdkV1i6+7QGADbRvzEYvNuicdGHlhIb35RsCIxTEpEBDJNmiPhv7vkdWozW8UgUHnP8YO/Ey6Q+eBlU96h038ZrJ+Eu3p1ifkyXfCoKQjyViRFYWNAO+NpDy4K57S2Io2tdnxmsHj+Z4xK3wb5DwZU6CqRv3DPUuxa7TQz41ulJ3b0eYZJuL9krJvzzdTp5pIVeaoTlJVOwxSltzaJZbOqtud5jEb7S3kZOABgnSgXEghMPZdd3UxiTVhq5Y2ReYiVLs7LWOPQaD2sFLsAgxxFHSw1+YZyQTWUDYaNdrbOQjxCU6qPxmw42Q6thiUI1iYJF7MR4svJjimpIypO4xfrJLsbAo5uuJIGJlrVfjgSgRiBMsUGFqFYvRn7EOKdWnJoxMGUjxQJDAt5su5bFyZCHNGOD8w7ipf+2lx8489lUmN30ML7wfm03jl74Dad21d2vDfl5lrFphGHItShMv+/1kxwl9WLjtwDNR6qzY77XOVTmY30Dkdk1XM7q9qUCVG0ZAqdNbN8lT855/6iNB1IAFJVH3QXrTtUTN9wRCvSmeBtatNu2ZOxPNQMUI0FxVCOftRelwLLpRnOw5gjw3yn0f1CF+CLcjvD74fF2Jcs6d3sjAlmO+48AaByivvY2eHS6EHn8sldXviwPa4isHRIJPP/LOQwUzcMh5P/afXS/YsHq+kK7cMzj/THP1iaK/VvWlM/b/4ml/ZR0XUHsA9bz02rWwK+rVSkpUZVz+tpDyCI/BS5Ph6dWsUWaRCPKamQNFm5M/6Rxy9w8ujyb4ejAhiflpTraUsv6u2hhwi2Q8T3Z5DgEJF4c6WIdj+30H3WGlG75B3OX3DvrH53XEA7kjCTzghLQly/5OUEXbwPjCG2YPJSOyow4RA5MpcqU7LgEpxkQsJ8x1mcDB0tgq/SFLMUpavRFC+P+qTwWQm47+8C1CqOXQxb4xf X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e44e26f-163e-4ff2-edd5-08db76f704e8 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:12:31.7394 (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: D5QHDmHMBzQnok7/pyAjEXUJqxHCiD25/wF9Ctx17eP35LN92samHbrfgstMVB2GMc3cyIuX6ZU+baabzrWUNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769852825714581929?= X-GMAIL-MSGID: =?utf-8?q?1769852825714581929?= 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. Most drivers only request one interrupt resource, and these error messages are basically the same. 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..fcb946ffb7ec 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_probe(dev, rc, "Failed to request threaded irq%d: %d\n", irq, rc); devres_free(dr); return rc; } From patchwork Tue Jun 27 10:12: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: 113348 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8086316vqr; Tue, 27 Jun 2023 03:19:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Q4mM5ncM1nR2ol9luRzb9Q53z4OH5R5pENXW66hYp6nNLYfORuSNe6fDmDESzsgoekH9D X-Received: by 2002:a05:6a21:3814:b0:126:306b:c6d4 with SMTP id yi20-20020a056a21381400b00126306bc6d4mr4967630pzb.23.1687861190556; Tue, 27 Jun 2023 03:19:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861190; cv=pass; d=google.com; s=arc-20160816; b=rwvJaLox7FyACakxGOaDJb+8xE/4Gs0meD3OgR3POeCFUgOKOeMB6RxT4u/QYQ2wcK HAfoH2lbhBVcbS4v0oVxWy8n201sk5FhPeab3MqznEfQ7OZ1goIejuFZLNsGsbTPSoVO 5+VGqo3bge3y0vmVvUyPXaZai37FLKdEc5UQm7fzUJNAmXXdVged98wblSzbczf1wz0M +6CX1c+W7yGfia70nFlsLSF31+Lm9kESWTNssi5XOwbvjwgz5OfJGxcc/uEGERwbXtCP CwEkTPcfZzfu99xCnI4x6x0ZqZ0JWjWh3d5izPb8FJXSJCxRZHsbwRmafzJz1G1tdCVl e+1w== 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=0CI88sUpuAB/6rlTeKMdrEWzoYqNN50xy+g+tszUGDc=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=wreI0boftH//eUQXZzLGYK6Ad3u09Lc02p6eBPMj4zBgM/5V77HlBXd3otiju5Grgt cL7RtI2ZfyBeqrsJYSziukhKC7zWJ8KlxYd8KUoVE1O3VURkFY/mSWuUUrNo8EqgzmfU Yw96bcjfoIrWnnBIlHWApAXtvX6jASlSSwuNLZi2tTy4WzDVa1bpBZnUsw2TpTxfvDI+ e2Zqs2lBF6iflrgwtwzJA8Za67y0TZLZ9UytbPU5gmVthjdKIz8Mrtf5xeeD1Jp1g79P DTulmev5IPlUym2nImcdMrwfzDZ35Pcd87XD3Mvao9YvqgqL/MBN8OoJXatWe3QXTajg C0Jw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=pY0bU7IL; 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-20020a056a0026c500b00666acab17acsi5538187pfw.318.2023.06.27.03.19.38; Tue, 27 Jun 2023 03:19:50 -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=pY0bU7IL; 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 S231158AbjF0KMz (ORCPT + 99 others); Tue, 27 Jun 2023 06:12:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbjF0KMq (ORCPT ); Tue, 27 Jun 2023 06:12:46 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2110.outbound.protection.outlook.com [40.107.215.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3196E4; Tue, 27 Jun 2023 03:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KktRCOTf+j+V5FCJ/V+qNi1wesVI2JNabp9GhfqF37oMdeG/knusMCqYMEN5uh0/W1klKQ5zp52snzsJg+kkZXosFHm3gK74S9hWRQdaYdOvUPBqHWboWGLDIvZOeiVVYr/+uGNBwI667YDCZvXSInkfQckjYudM2F5t1BFGI4ll64/KhWLDhtaX0D/OezdzfhUEzV7xBnIY23QdEJcJNuOTmI0R61KqQpQDw7OfJgzwX/73PDKMtxFPlbMSLBvCdeq02I6twKEkGTjSz4vnSl47rXj+agQ2Aal8MYG2lSG8RL0R9q1HIW/ZDxmw4Q7MnMy62lp6VVTd3C+ZDGnmAw== 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=0CI88sUpuAB/6rlTeKMdrEWzoYqNN50xy+g+tszUGDc=; b=W32h5kqrcbYELh/XUVLEFK4C6GuhTFKvufIabO3wgE4crzUVG5E4OL+xj0kajMxEdtim+X3c9tRxg9wbvMuVVcogpYXbb3TDvBeMsnjLSGRJOvcuvVh9nsKrYye2xfEmu3duIlqq8qx9+cZH1D33d5DKZvObvsXhr8usIV/acO7WN3ua2psUeWNGPLYmcU/1xEYnhFP7MvX0FSMvT1tTFQ8T4NSXrwjZ0vu6MwEv8ptn2nzJNp+7q0VGyVVK6SwHGpM2qAd7HkzNnZFJn+hjAOYA/v22ez9L01erU4cm3j2kPBv0cVIuLzBQyezATBbQanKLs55OYlJ1YrCA2YkJ6g== 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=0CI88sUpuAB/6rlTeKMdrEWzoYqNN50xy+g+tszUGDc=; b=pY0bU7ILMPYx8cf16z+JXPO3lSzMZlpXlaGZYpql2DB0bnxXsMYJHxLxn6byWEXjzVfED0urPyMPhE7dowWl89Knh+Jy606iz8T6ctswFiyMramZN3CoBFVls2pdiaw+ZvsTQwNJlo8GjxSmCeSM1SslXgVNp93k0fs4Ytt0MI+KeOyl7O7KZ8UcYYpbsL1HdhN5h52Mu/FGkTW0uRnbIihwDaquOTU1juBK/phuC2OQf8fxbxSCT9xBtFmsOGmvVA9fYh0xsCyIJN4eX2nBsmwU3xPJatC+8vXxAoh8BYQvbY7USzSMbEd6klpkl+yQ4SKjEbtW5cV/5UmdPvHhrw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:12:39 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:12: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 v2 02/15] thermal/drivers/armada: remove redundant msg Date: Tue, 27 Jun 2023 18:12:02 +0800 Message-Id: <20230627101215.58798-2-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: a20169c8-a11a-43a0-4314-08db76f708ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tiLxNeDQUH5JfrMf0rviT567BTUDaoV8f+ZNP/69MT3c3anQSIIENjhcInC+ZiVavsD3l7KRwDK7etcWRwwn8wnEs9AZT3ZdC8hQwQvml0uZuqpUFrQTzDgMbfPlr2Irbz4oT9qR1P8VPmUbB1dW3XuaH55lkFcSGZGLlW5i0e30AIwzmngEF1NJ3+lA26nuvl4LdTu1Q9mQExsNHIB7fNX6Iem5EDrSFef/lAEuczbshZ4FsCGyPYNKv4LWOEXH16ylaj4W4RXhO26RMiOIabhMnMbZKmjAxqbZqE2OJwn1onuBsexOoOb1o8zi9giKHGhs/7VGh4NN1o3waP/y7OUZ31GCNE82jxR2ntsBDdMA6l7ot9C39/NDQ6Ztlf3QE9gxZDAUwG/oJZuv99+q84uuLfAp89Y7FdyFoGWMiK4AT1HWun0bKDrfFt2uh7+ZlPs4iaXXg4CILY6a4SKkSlxRmZYQwwMSLN8D+9XCoevbDYhlfFyYYp0NZ/zfICgkoEBf7NFpyx2UAwu2oaP0wYZBWj19ce80TJdJW1yL2gN2VgLtNggxdoRZxH/3VTjoPTIBJQjM/fXW/rHDvd69t3ogJvxJ+4Jv6om3TMXozQFuJpg1Kt/gra3y6E4jAKcn7kmx6LpHKhQejzHzIJPFNg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CyPr52FnQ6RK/1tG+hEcPjUTmmxOatE4hFxf+hKGu5b+2dfbBVYBergTiPsWOpSeCXlsisEUudFey/MgSsExzD3PHD4c1n4eNFCzX4E5Kr6GPrJV1pBOIWJJAODyuqVdUAcPxPDKVPr/G5D9x6laY9E6Ukb0EKN1cwNBmdOxZG+ZHU0PMML9Eup2b0zyfgyiLuSnBZbnzY2F/8rl3ajoR9w48UuoHBmHX1kTcJL7R3Y8258YQykqOjsrMXl8MVi24KIowWIekgPp4V4HMl4fHqrrZcMUQbvKkfCuZ9/VbuFknOXnjZYUIReba+KHiizeKwjk9/l8/x39mFWwQRrQWv8t53L3SWyLQg8wNJp91DNXpOeakdnuaU8q1kZ/0XmeLHIBYLNkxppsWW5Jyo+EVfCYoZDT7u3/kQUW3OZUM9l+NH52C9lYaSWEpi7VI4CQrJzq7Rr77igSIF3uXzcnRyztNH6fiL3n3BpMQup4kQcH0Z8d5e12LEduqdkGrxK+I+/4nPPFk15TiM/ohciSjxffEenwfTB3TK0Cym26kxwE9HFqwS2DpwzOPAMqYFTm+IaU+eFg9bafHSLvDMXpw2UxJ+wFItmNUbSeBCQZWnFgAEUh/pD25+tXUV0qx47VxX3wkaBpHDVj+IKYLWq7Dt6KeKRSlytF64DYifUgPjhUKqCyIfqhEJgmnEOmKn5MVKiJjfBGCev/0g0lUSEuMoEo6KFd2csuENCq6gVFldQy3PVrepZY4l0q3i6kPJDzDJZi0aLBCb+06enIMZzlZgT3SqzHekhAYyHIosnFO2u8tq1MCgU9KdVUpjITYnIQMK00SgJU35FsUUuoph6ZzZNyYsOVzjXJGOVO4cwVBgcx97FkXkEu7jmVRMpyREuefP+Lbgo49gYQ5PXPLCnMSrxo+wQVJ0u2AJGo9WkIkS8ZgCJfqb7Uj+o9NKL6W4oEHu5vPeGGQ8iCHAbEdAu2nRczZ06TrfYlI4zZ3LguXvSErXi41u8sZPZTqOH5EEu8yqNPtPxy5FxoaIZEd0MRZSfk8nWxFcKKYcX0sx0qCTrDkoy9wK53h6J5UYkDTJYfWEadiieJ6dXteoZm1J3aOEk6CDG2QaBTv++FLYG5+Hklq7IyJZVKIdNOCgKcWmpNqkl6AalcZwzf0KOGz/YZ+CTlhARJNcWXnsm8UUiid5RWRZM7wb3DR2DZp+6n9gYMoxY9np76kjbHHehDeVr92T+j1kKrnvzXcfUvRyncREXwNYxSXA14fXFrCAnwnU/+0HDT7q1rTh+jRmEZxk5Bs2mZk6Rw7gQdY8wqNQgcJAPfhHgyQ8MMTaH9J6Ad3AzS5dhHjhXc/LaDZNllO+/4wb9jA9tIrC0oj5emAPgx7m2e70sLx0cpfdG0XKBPfcmi/3jBXvoyDTll7V+3j34uNjMcnk7y9Sc+7nFpq21BBjPafryHHuhq2NJ+U61/w5NfAq4xhRQgwuiGdOz5325rjfN/kG7qMlk5d1r8gdeHIeCl9N64GNToRrlSMmbHUS+UhQ2XaB/vNdwZZY0wON/WG+lpR4H0JSg6Aj3/s8dYEm3OwpIkO79ZRmpb7DlOpEw8 X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: a20169c8-a11a-43a0-4314-08db76f708ba X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:12:38.0586 (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: 6Of5NzfHhY/gqhmVD4//JxO2ap2c6FPY0I+n+QSNXXFhtSa1JUJsscV+AUa6SLrr55X0p9UTuJVfbcQityPxPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769850735759898299?= X-GMAIL-MSGID: =?utf-8?q?1769850735759898299?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12: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: 113349 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8086390vqr; Tue, 27 Jun 2023 03:19:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56tlsbGADrse/Y3PeByRSVCg3vgE2bLKu+0QUFUxXGcKj4OxIHo3iPUzB4wPBXa9meYcUO X-Received: by 2002:a05:6358:f1e:b0:12b:e45b:3fac with SMTP id b30-20020a0563580f1e00b0012be45b3facmr19429845rwj.32.1687861198734; Tue, 27 Jun 2023 03:19:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861198; cv=pass; d=google.com; s=arc-20160816; b=MTSziaI4b71D2+VUKTzEmyvCTMuhBWxPI9cPqZ4JOXj3ljOHIA4fM+DaZ0YbUaBItm yELE0QpJ01BWVuNOD67LyyikiNWEIEkkb711ky2Jzpk6CUiObHU83tSWfQ2Et+SAIZSB 8e7CRhgsNJyWzW+rPYJr4AqyFWrxm0vSIilYQGmeuxTQfuATcOPFAFkIDu9DQcD6MbKT I/1Mr55LNM8G81Zpzk7P29y0Hcve1i9/I+Mugnvh9riIaASdE0CaHEMuS7usgveTZRiy j3YtgBSfh2Bkp+C1Gi7zU1THv/9MWOXcjNmxWIUKIEzTyRLzPGgcX3ACwfyT5+z4ooBb J08g== 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=3Qb9DNrkU5ARIUU+cr0yOK+SXTENy6LaR2AmgH4Ek9s=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=PijlB4LiDalkAqoFuQcn0kDayV/uQDGcb06ZSqWZDk08UBFkPV5zOMSyUUj7oyge8e wCzc3t+TbhUO+7jj/3rWBPe8WbMMON78rdFt6uu3W/BQa0655+QW+uguejfLQnWCrUGR 0BN9u+DpEqfhmma5rm/UDBHTQ8kJw3EsRESmVVZ9KdiGouQ1J0MhcoAYJJqVt+WuDjg/ zRmBkFFSbgMZj6vJQkwMj4FudBm0avgespcxHbhF5waSHRFdHPp569mKymyIJCEU2C9s VBifIUTuw27bcJzhFbRvFK9LgTTu8DQM7zCZjfha9Dybj5vxTsyvjtfXE2veoPBtqVtB RP9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=SUrbqac3; 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 z11-20020a6552cb000000b0055339136a7dsi6814346pgp.883.2023.06.27.03.19.46; Tue, 27 Jun 2023 03:19:58 -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=SUrbqac3; 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 S231502AbjF0KM7 (ORCPT + 99 others); Tue, 27 Jun 2023 06:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbjF0KMu (ORCPT ); Tue, 27 Jun 2023 06:12:50 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2094.outbound.protection.outlook.com [40.107.215.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCA28C9; Tue, 27 Jun 2023 03:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aTM8Ut8HEZ917ZJJA1KBVmbTd+DxX6I9a82uTjavo4U2UmNp0tOlCJt8QybDH/V6TwN8rWnu0efU3CWb26CRZe8JBXRoiMUL9x1d7pIh1vUB0VVwnVsqZiY/98Pi1gi7kMSdKjpKCAB+B69pdJEsAnjSawm8YIum8KOjcrVzVzI8uqAIu8oCpBCZo5Vi1yfeuHNUwM4+OaLlOpL7/8OJH0takyNVD1iGJKG2mqm2s/GEOdt5v8yDNG9GbQoKVux14ptWDdW9fwTUN+SmBE2pu30NewPWCJHPyKx/e5djoTPRybbwOO5MXfTc47jEXePhHSA/gluFDG7vPX2rLLiPcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3Qb9DNrkU5ARIUU+cr0yOK+SXTENy6LaR2AmgH4Ek9s=; b=VagiK9zAx6J3r9729m0bcTbAQGJ8qmqQA9DJJNq+t5bHI5ET06oGc6GOgRoBrl+sWfekhaSrFiBLxnsy/M3OIFggMkzNBL88DK1DQyvkVEubfxWz6gYQouGm2V52MdZaMleY/Wj5LJMcEcu+j7Tkx6GHdPuOjzJS2sQA8TL3LgZQqsEluJzg+pb3xJ4qiQ/qMg4Gb3xOupbZXMVIKd5UH/HJRjhpEOI5ZAgFuTqJ80JengWmC2cbB7RB90zpiZk7Wp4H3gKpA/sUD+m5GMm6Xn11EAxk7SaLaUph0nUsQfopCRFbrrG920A4PeHlcD4cNSfCYq1In08jP71xJXkhqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3Qb9DNrkU5ARIUU+cr0yOK+SXTENy6LaR2AmgH4Ek9s=; b=SUrbqac3EfGN1S3nopkNA3+9TTbKfwSY/fMd2NozrXJQmjYc9EbJIemV6tb7kUzUS78L/M4k9z3Aoxgf3SgnGZJyZP/z9fDXXUoTJ3rZRWQufq/P6AlesBYfJDRuoYecJzSn8NSepTeRP3lNyp0DoTWshA8kF3yYmDrOMZ4hlJQ1lI6Yh5SBhTAs8pUWYTkFw0xz9rLr6yg4R41xEmAoU/a+++75qz0K4Njc3sgDYZAw4VAq2pKwF9Q0OtkZK3GWWdlmZznrehAbkmxukDQto1QWDBjfr3v2EJZkNxetfkJetTKrYLptg5oW1ERVwJ3/P9cH2yvlN/PuELXxhYowTQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:12:45 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:12:45 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 03/15] thermal/drivers/brcmstb_thermal: remove redundant msg Date: Tue, 27 Jun 2023 18:12:03 +0800 Message-Id: <20230627101215.58798-3-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: cf15c978-270f-43ef-3f1e-08db76f70cf9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RERfor4MyLcbGi9OEmOV4YLKsrSiYlxbP8Edx+oTZcMa41NYiOTT5LKGkhSE3GuLMOulYXxn5wGi80D5+eUwK96TK7GDxkAnX+aCVLCEWXIWL6gcNf5h5VdiLLY4oppK9J3B0S2ZXC2YjEy9hvZowjrps7mVj+XZxoDjBtVcpAWiOwW9g1HP48GcbGKZROqQaFGVD9siDkO5FHc5M6iwqCIAOy5CUlW1tUsXuWngR75wXzJvwNEaoBQ1nbUViI6CCivRk9VK7e8bN7s+uL/yEfaMwFsLCksQPF3US9rIzDVDfQP9hkxCPr8AnJRIxxAxVOo8q+oh6c6He5rtbSFugcSDCLtWUQEWDLMsKxCqlE6HN2YTgpyOFtzGOwubA0/B96vAf/m6JYwWBzWpoitJgBLYzlOHB031vDnMKpAnN3rqODpRr8Bc18KLtBOoKrFe6efPLzrHHbYlPa96rDe8tOiWR9yzaFUgf49v51aynGjVgvlwirAq2GCiA7xcEQt7CUmLUJhjq5slPX+IfUcab5tNb56HSw1zUQh/cgUDFNP/2viejME9CLLILFyFwHrxZO6qWqvkri693bzZ65G0QIKQZ7rRSsIU8ctkK5FY09+Qcx1fczkhEfSOBsOHYghiIQbv8T5Iz5W60ZipMEfeiw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gZrIHnwY57CSpwFfHru3Ncg2OyDV9/BcWfmFvajGTcdMGfHsVH2bsWrXD/Iqd+GxtW1qyZAtnapK4JCnPw8oGEZT+F5DhCDK3VtTrifYpWjl1QdU1ChKB83hl4bATETNOk1jOMA9s1ETN/RaUhJuz59QVdfOiAXYepGXulwz9jcYAHYJm2si4vwOfmV3CdFTsgU/EaWFXzvX30PnpdK/1+mKyJzWjneiEecayxXVgbK2hmnrxerAwLstKt4ji3o7jO987a6J6n/JENA/Qd+OW/0zNE16UV7g9/mdlAO9u2sCQgrjhnjszckcsVl0xBs2eSsFJnzqRv8/DGSMTxWz8n2MPYxN74HMtiEYCNqokOkKsulhz+VURDCPePnfnzfV4IYHFdZYYPaV1tzYX3UGi8XzBpO/CfHreqiKdfigXveL+prhWYbrQQJ0DucaHV3IEQ4STVjPHnDydEO382UC/Aae0EXh7DJ0dF3c7j/G/SRTNihruOMCoOGgcTrkmyVm4QE0vV+fwUj14p39B0zc8lLAJmXufU34DGkmf0/cvNNVtyEjcm4GUVqpfcWLhGBA9izckRSKlU/ZMLBpVgrJ7sgz9MOuZ+hE1xwRE/VMYx7Gmms89LMltk69oOTZskAMc/gVohC4hMFH488okbVym8YkJK+j5Ag9QhKqniHkWU5bR/ie3ARBEeubtnvTK8Zj52cveI4exJn0T+2KME+iyqcPqLEfUzVGFtr0VFiY3NJrBQGUIv9biv7dDtSf+KWdsdjnMvK8SUlZMyDdjKU63glkRkd9Woadbh4bUhON4LxcfHvAvXWc7Kjb145JQ3YAF20fBeqlEjbGOBwY1fN48ZHNwPG6P9dz3NHGsY0uVCvCP5qqIhqZu6GY6Ynlkq7+w+1kyedprIQVHJ+PdsRHZD9V/yqV0ouwpLme/UEQ/H1DnSIlhV6lxhTKfwpgalgCs5uxeIRsvHOXAicEVLwy0TPPwMrwiyu9JSbxu8XxvOU4AtDZwpxA8YemTyixM363erwx6jdtMuoNTwZh+sOcAZOs+mvS5THqGNRERf8ncx8sjTbLHE793EfmKmRsKR5wnlFj/UPXXuX8h/4ypOLsR2qbgBAWQge3JA13y8naCfA5bF2bHwTVgpCOEISBbzv6KYfbLGRCdZqUDS8K8kQfrF3GdidmlJZBoMKWwp2IrNQpnz5bV4CFj5+Q23tlCiqx/sw+7XJ9LTF8Lwiy8SLydy4V3e76C/swZnj1rrLm+VT0PU65oahLXr/zLSK1GYpxD3itHTIdkZePXTQptxqDL2h5efGJNlQr5t7CdxsFv7K/I7Cc3I//bEHP83+JwiOsznwIB6i5BH39CvVrmdkNOmwKgf7E1VaHiJoImg2uA8m4EP1OYE2FauP9lQUchQu0X2fvUFK2McO/UwmX3B0AkWawGD712lTi3cPUw5KUXP29IBfdyBQAqZZEtsmnT2Zvoe+t3fq3K80Iy1E+0iW7QbWvOCKhlXkahOSjesx3GYNZH9LsAjRzbIu6iszKfPTZhQlzji7rquZ32BCItfQYy9MtKtUkl03INBjVjMCmoAyUPUywsW2wbnqsbXPHRxzz X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf15c978-270f-43ef-3f1e-08db76f70cf9 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:12:45.1572 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ku/+q/nqrQa3cKAhnUAq9ILBPB8xiZemGqJUyhiX2BBQRU3Tx+GzH9UUdlGTuwkdPFU1e5tD2BH9nGsaCQHXRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 X-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?1769850744265681494?= X-GMAIL-MSGID: =?utf-8?q?1769850744265681494?= The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/broadcom/brcmstb_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/broadcom/brcmstb_thermal.c b/drivers/thermal/broadcom/brcmstb_thermal.c index 72d1dbe60b8f..7611094cf367 100644 --- a/drivers/thermal/broadcom/brcmstb_thermal.c +++ b/drivers/thermal/broadcom/brcmstb_thermal.c @@ -353,10 +353,8 @@ static int brcmstb_thermal_probe(struct platform_device *pdev) brcmstb_tmon_irq_thread, IRQF_ONESHOT, DRV_NAME, priv); - if (ret < 0) { - dev_err(&pdev->dev, "could not request IRQ: %d\n", ret); + if (ret < 0) return ret; - } } dev_info(&pdev->dev, "registered AVS TMON of-sensor driver\n"); From patchwork Tue Jun 27 10:12: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: 113355 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8093406vqr; Tue, 27 Jun 2023 03:34:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ZZvkHsu6CqV4fIrxaXoawkyKsN+HV5HbmBVdCcRZLUQZ8mCwvHp1cKcqroNPBpJccoBH4 X-Received: by 2002:a17:907:d9e:b0:98e:419b:4cc2 with SMTP id go30-20020a1709070d9e00b0098e419b4cc2mr5744696ejc.3.1687862098200; Tue, 27 Jun 2023 03:34:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687862098; cv=pass; d=google.com; s=arc-20160816; b=vZ+6wmhNuTERYPZxlMRrU7ho3XLsDjq7GMqczEyrjIptp+7fFoWU5krWLsfTQK5Rpm OkgMG1OhfhUp4f3eTdbhFQEVENg6hWQZ58Rht9Fih9KsTHO++C+4aZn3wDizrtFOtjUW HK7Uw4iYFHfQrGmEwYtmjnZevG69ucFjemiCnemkp4x7qkDOu5fo32vXiyLBjokBWWYL SeKqSvFUkj7gCh132VIp4grd6subisQ4bHz7mljmqWSPjLZiYkCi4Q7HZ6MX+R+w21aV N1xXdb9lr6livZf3giWQwAUUElAFiL9DImWaC7SCS2MQwlMLL6wja0XwkWzzh4TJ6d4/ 17tA== 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=UXSQxkPIIVSDV+cdDYzwOObskwuXoMkScNrzd3ttqjY=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=M8MTh1eUFYm8lOL3AYPqLfgdEtnFe6F9ip3pKs4J/tBeqMnv8/NpuLuRa374BANOeW 32KdPl/aggZMPPujhxLDv8ZqkpA1rrfkbpdSAWaZNULZ7S+k6Mjybi9WjsKELV6Lgi5i tu9hOvSbk/tpYZj2bfGMYDr1RdWNdy1NotiTWEsJCeLEqGiuGOAEDia8cQT5AgHGoncA U3LOnCfCgI7IwbrexjsR35KOUhWU5wUFfQB5NO3JLdt/aijhwW45pFRIzp4ik+VUSkwH aiTf+B288YtGPum+KWwdf8TSH/N5OXwD22xsgGydw0p80B7k+Glfn7PU+9l5Ro39CcSb Z83g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=SU1MhDJw; 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 ga8-20020a170906b84800b00965a83df636si3990510ejb.1024.2023.06.27.03.34.33; Tue, 27 Jun 2023 03:34:58 -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=SU1MhDJw; 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 S230167AbjF0KNL (ORCPT + 99 others); Tue, 27 Jun 2023 06:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbjF0KM6 (ORCPT ); Tue, 27 Jun 2023 06:12:58 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2119.outbound.protection.outlook.com [40.107.117.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98F0FE3; Tue, 27 Jun 2023 03:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BZJpvi0Y5NQIgyj4Xln+18mW5TjqLL6yrBTnC8n4B4JmeIQRcGbnZu7SGvaZ5fHX2LRKsMw7a5USjmBD18kG1yCgjkOUQOTyIW+VjN5wAcIoEPd7PkBsgqt2UWzvaGFioOTa4UXZZGHKdkS7jW+rC8q5p5InoiPxr60mpoempsCUe6oLk81jJTQmaEWHnBCgwo3oq3YXdBts1TNDJdBKNzHU74WTwPStsl3cIF7miw+6bE0n2m2M3go+GTEUKggdPywzdvuIdR5KdgyLmohO6EE37k8j/41QhiHGpYVPzViBe0xb4rK+O8qUiWND/O7TMShxf02CkKzfYKUbgRR3QA== 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=UXSQxkPIIVSDV+cdDYzwOObskwuXoMkScNrzd3ttqjY=; b=HfTYU4b7COfxZ56TZXSpTTCCefup/awJS9oqrpemMujwZB0QjL/390ayY8kMA8E6nt5DJkqtz1VA1tR6aT9wxzdN1oPQlMBErWZwlu0FS+SItbmvXRDBuL/icr1js/VQ4SvM9tbV/nohJzk3nvJRv8kAoOt9MxChFct5dyAlmAx7skAoYFqvyTB8Q2pU70yD20Tboz4EvupG3+QbunWas1hqKvctSbLAo6taA/AZTs2PFCpnjq9bKuU5guH1zdiylx9+AnwBwWzD8alK/ieeWSpQSZ3hFFhZTGdOmMqsd7vldIVwZqUK9Wrfew4HOWe9dz/UXei20/mkAoRDvsq6IQ== 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=UXSQxkPIIVSDV+cdDYzwOObskwuXoMkScNrzd3ttqjY=; b=SU1MhDJwpqHodKCElgXIO7433XVeieWIs4AWcpD3jRqzjFwAQ0UXfU13X8ESmrQyClulzFlQDzKp3bzMpSptkjDKHPMHhnvvl3jsPjEpCoUSU55RyswsFAiy8/9RVEogxqQlR8P8x6eGXLL934qf3n0XUYAAD1e24yeWYLzf+DR5fGdD1tiMOCDaEHQ/ZHaS2TAA4uTro0j8sIYIlsqTUOL2vu9TbcX/0ULuYU/ZKhjWopreYvXg7iyoLmrLMes9c/uWxXPoBQePfLGE/zytrocUVI3zIcNunHHwfUcajwvbEuN3i4UmtqitmvhHKjKV7gRs2CnSC75SlwhlP9GxmA== 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 TYZPR06MB6325.apcprd06.prod.outlook.com (2603:1096:400:419::6) 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 10:12:51 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:12:51 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 04/15] thermal/drivers/db8500: remove redundant msg Date: Tue, 27 Jun 2023 18:12:04 +0800 Message-Id: <20230627101215.58798-4-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|TYZPR06MB6325:EE_ X-MS-Office365-Filtering-Correlation-Id: 73405b81-fd30-4720-207a-08db76f710d4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D4kcQk3iI3cXmcvBWFI2HzWWM1EEcjr6TU+iWVneW+mggHBcgWe6abe8Dc8/zLHvukzTiN/Klns3tR73ueUl00MO0+/Eg512WbEfdRehFA5UrjPWwZtW0GfrWZV7LQE88LljamIiLG09OEmn2a9q5GZXxN+0rcvZ1I5eUIocRJHvuUuZFF+yBEo0+77w45/NmFNGyV8NeKNdG1eOeFbQYPqr6WuR4KnjdSSsUzMPYFZesVOUmGKGVzvHFv/ziO+lBT5IgEpys5dW9C6kd71RUiL8S+9j6mORntzvkHDxKl5Yg2l4wpZ+7w+aMLmEcZt3Nky1ZgRAovF47g+wcQv8lXky6tSzolyMFF5KXM7m4VTSXeOfQ+ylMfk0DX9iYWqJQ7dFdCzJQgBFsI2r6xgj37xHWDI68uObgZNFtO9pisHfzumW1kw06fbs+ZOvxMkcHoGc1fEcOSOm9swZsNUrakCknSRSrEDweyqFlGAPmOmYWWuEWPus+FdBntY4fj5GkTmRF1NM1Q7jr0nsUuaS+saS8z7YyjNGPYG95M3hH7ziGC0BHCemwtNiTFqfvWMPs766Bm06QQdNbbs8gJGk5jgO8Vbc4ajwPoRKItZkWHSHFVjxpnsJXqjdGOvsV34xd6KpLD1kMx/XylGmvwgMWQ== 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)(396003)(39850400004)(346002)(136003)(366004)(376002)(451199021)(6512007)(5660300002)(8936002)(6506007)(8676002)(7416002)(36756003)(66946007)(66476007)(316002)(4326008)(66556008)(7406005)(478600001)(86362001)(41300700001)(6486002)(2906002)(186003)(26005)(1076003)(6666004)(38100700002)(2616005)(38350700002)(52116002)(83380400001)(921005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yylEDKHkzWhNO4iagFmlCxhORXgDBg4If4/LLAPPD0Nelby9ZGAf0yDRevcsprLWtOKUS/ojJCtgkUuAOc5R4VNLWQGDxGrlRWrkBa+vkDVFC/JQ8UBaaEqu9Zg763LDEmY2tsmJAuj0gPfUwjOL4R+GuEDaiXNjEx5Ne9LuH5VW6E7AS9WIdj/Gy9OPo2dyKzJEiZ/m80zAyMHwsa1VZeT/EztmCj2V5fHWjGlxIqd2YJdaUp+zPLop9GLrmnK/lLDD3UIWCgB9VV0rknM7cjK+tjYXa0MLoegTvbqOSdQFoP595dIsYg1l3U2vG+kU0U1fYsor/eek4CLKKaKRy3T3I43oUW5YzGUT9m12y5fCcfqdtOG4BezkwhCNjCbi9otNwyi54rDONp8NRK+v8IMOhXryEGlqZWCfpY7Ipy95KCD42rjIBPZgupVufBBbUPgMYrFG5Ri2umNJnpwiX+3t9JlUpJGxHZ7LBQXEvjCZnVbh59TtgjX0uTrMg0ncjdMdP5KF//ukOQ7JLrnxtpDEr3kwQx63B77cEavVcYiy1SI6K3q49xSGz6A5bFpd55mb7hWcqeGc7m/0CA0e2PDRBgnmOwjI/IJ2us31cRiR0rGhsgjxl/KSv12hdt3RY1m+nI+7Gac63laf+eDfDmk2z3rSrpt4w3gkzya/0aKgpQ53+4tSUYcveTMglNYNbxEq1df2FFsB+eDcXsRe73vXXBTyb+xiKqK4hzKNz3NXEIlCC6DaOYi8z7odqJfH7bmaxd85CPXiQDo3KwgktSNdBLFecSVxX4es9z+m/BY5SlT/nq+vnbZw9TrC0XmGWWhl12byqQmUPzf0zOcq3BJSspFKd/LW0gIZ0un6K7Wgr/BwrdOrwBhs4cSQQInJ5axMEQOs5DeNQ1ZUf87eyH5QEvH35KQpRYLn3enp2bXGlzwNNB0zuBL7UfAeIKqCixAoWsXiCj3wnq8h7yNhy+x/qSn3QvinRFgKJMm5fRbvxQfHqREyTGjghaHhNS1yN+726gqvPjkz9VSdfRvJAaRuEmgWwq/WT+HoYz1DukyLcvUvu9RcgRJa8DwImqTvfg71qkt7XH1Lrg21NNMd2/Ngv9uvlMpSJ6uZO7BJv4MBwfdUAvUS0ETBJi8cG52PYSCzO1D+IPZ5qKJiq7AGTo3d2823Oeou2f8QtLs6+y483O6gio/JRD1yCieqmOIQjY5+JAZmN61/c02yRhgbm4IVodxmY+lqLJx7J/359YB9mDL9TNzi6HtpJ+rhMQOjkt1QLhhX6j3mHcml/Zyh8fngLAMPnmYQzlB1L9DcLyjTkfwAPjSyz+7bAgdVKkB1+iFfJ9HWw8WUpnpxC77jUcBJXMlOwrkcxI9CaJjiSYFWPgOQj6DMQ1RZcKkp06HgzxNSNqHs6O2hH2xlr+TZqQ6kmnupGpnILHdZGWeBn0Yg8GpOM47RQVX8OtmOaqh40Ie/yjrd6d2pC1QgtvoTthXZzxzfagfJjlaG2roqyIUEEm3sSXpJ1wneC+sLyclmCF2FNVDoTdqycokN2KZtgIZvEA0y+VJGHVzH5ldQQasDU/DpdEf5698BYdZqRL1l X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73405b81-fd30-4720-207a-08db76f710d4 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:12:51.6076 (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: Du/NliZkygzqJvhygl95BDyx2jCKAjZ8EKLdZEMYnHC+t5Y32JrIDpIr0W8GJdmVfR7WGDokr3O6lZOLz9lE/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB6325 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?1769851687371651563?= X-GMAIL-MSGID: =?utf-8?q?1769851687371651563?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12: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: 113351 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8086805vqr; Tue, 27 Jun 2023 03:20:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tyf6Sy6rO0yXOTm6vP/faXzBJ/F8QnhI7qoccLwR6D6xlmI0pm1qM4Yb0O+PvHew8GIWd X-Received: by 2002:a17:902:6941:b0:1b8:1fc6:c4ba with SMTP id k1-20020a170902694100b001b81fc6c4bamr813368plt.46.1687861254783; Tue, 27 Jun 2023 03:20:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861254; cv=pass; d=google.com; s=arc-20160816; b=gCoLm2Q3+dCDmL/qKXB6xeI1JfjvEl4ij6F6+wZ815BemfbZjSg1qTSHWmuZ9SOhSl +sw0ZClMMo1gGWbzr7K6fmyUKec4JZ+0a7s+se8bRprTIG+zkiXITtb407dVMwriPA/i sf5VUlN5DkoPqLbKhNo5z2FIENkwlSxsn+N1bwd8lpKO4uPh6ngN4XjRhHRCFWmT6p3R HMHVFCVvsifIJwO5MCG3whYEDm/pras2RsW0BKJPI9NCRRafcCu3Ikzc3slBfZzN7GYC +m5QJpg2G/Elna1vbssbV9QpW7NKXmJ3umzAj6U42IDhjXm1lGtXWSEKlqI4dH5ppD7B 8UNw== 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=GQbIovam8poEdzbOC51eoj1NJOwgU87qmaluY1QmjFo=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=cJ/KCWjfAFbPSs7IOmwoJ2OTSaGdd10VkalTvF964rIA8Wn6753N1IS3EEbxgow6VT XidrsgOZsQ0COANfmhOEm87O2XIfOXlwlx9pmdvbFUfhPcrjWWOpYHYF7AqQt/5VJBTO V3H7gcsx4oRAZ0hKFD9G7oUtm3ya9FfBzIvhmVH8Jk6WgJBx6c9ChYGs5gBiZVBJCGU4 /QkP9yBxBU9ARdRqxHWBOVoioIPkvlYdVte2CQPCATDsFRiHcxKRGVB3e5AkjBpN12dp b1GKdBOr7EPJdiyn2TZP3a0GzHccxfqZTOI3croNQBOM3MPH3nOOcYgxpV2iPCMhyN0P Hd2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=J7802a1L; 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 jh1-20020a170903328100b001b3c97a1ea1si6445323plb.162.2023.06.27.03.20.42; Tue, 27 Jun 2023 03:20:54 -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=J7802a1L; 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 S231925AbjF0KN0 (ORCPT + 99 others); Tue, 27 Jun 2023 06:13:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbjF0KND (ORCPT ); Tue, 27 Jun 2023 06:13:03 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2132.outbound.protection.outlook.com [40.107.117.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84BA32691; Tue, 27 Jun 2023 03:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i5NAj/3gqwxcsEgAz3uw3kOFa2AVSitDqZDFGjEF6FdHdw+wRmItzIy/TUCRoC421sF88kml/D2PgliHrwvOsaEG4wEE80TUDx1HKan93RtOOZQdOHRQ+iF6ApgS9ElF2jJ2NMbUl3StraatCN/F+jTY04/ETJx9WkyLFYSi7xGRljlxQwZhTrcqTXEbmohhQcMsFa8O5S0LyKuYI8ziTcI+v3IUEJWdIpdDArxoCokmDxyqTlTN/nlgm0bVXGUTRfgJLiGDkXe6SKBaJ5MoLY9aWRXT3tWWSeEEiwfrig3JOE7mwUFGo4v7RJq+PeTw9MrulegUhd2dFmBca4E+iQ== 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=GQbIovam8poEdzbOC51eoj1NJOwgU87qmaluY1QmjFo=; b=BOtHxilBHu+d1oo/ssd9Jf3JGY4i5nqfhCcdSFX19nsqIizKhWidQQAfSmmE7GSNz6q1JxccCUM1gbUv3RmCKBwv0nOiRGYEVGfuzVk1KmCddZH02g7BJECeCiDuJkHOnP7qwRmrQmmQB0Q7MIZEeX5eZhDknWoyUmKofDOHS5rugw+VFJ4LRyWUk9t7uBBveMJ8Z07ruqyZ5cG3sASr0r6PFJ6ifHdJoOU6oc1NkorEN2Mc+4NWYXNF6CHr4VCYWuspIcJXaGNQAZKmIWb5jh7cxksAFzfVnvKT+bU8kPMxtsIEY2AfpXMFbTwa69C480wAv0HjZTKWy0RYZ349Bg== 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=GQbIovam8poEdzbOC51eoj1NJOwgU87qmaluY1QmjFo=; b=J7802a1LzSwYKs/EIUKozlk+rvp56L9TLVbbRRwuLRzZTYgc2hApt9prLFgpkUyp033QMa9IuK+rM5SefHAGXjBYH8D/AnwVmggLCQMi8MyCO08VPAb+wnWIXtpioOoYScnsrRbTuU4K6ZdfhY7/Ilh0OH4xFzAVagX+Kr44k0hIaaaPxojT9lHpWha9v4fLBkRbN+m4lD0FsPHbvupi9Voc8mI3APSUCiSVhvnLgJlovqCBvDj3qzk2MP23HZf/IZkiVuYGorB8jSf0avW+ZRgnYIRcx1f48+JQWUhEeaahtspCid5yDUE65N+ST3koMl5L4ZtdX+Av+NpOSmCsEw== 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 TYZPR06MB6325.apcprd06.prod.outlook.com (2603:1096:400:419::6) 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 10:12:57 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:12:57 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 05/15] thermal/drivers/hisi: remove redundant msg Date: Tue, 27 Jun 2023 18:12:05 +0800 Message-Id: <20230627101215.58798-5-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|TYZPR06MB6325:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f6bf913-4050-47f1-9f0c-08db76f7146e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jcI2H8tr3L81LHCYEWnQm34FplEm7NvrmZOMcL1lJGToSGqLflF1qbSWXumhjoD8d+sOvCAWA7n2V50uu6tUmNtSOKfvzifjeBUBLCpHcbUJ91rF+DdV9lanvhiKjh2vAs5D5vXlmtehuhTfKhFBckUcYDz3+XjcaBA+QCsNYBajgP5ozrP5hJCyCL9Ik91+9R+LJhmUhREHX5SRFeUl41h37vAV6R05Vrf8MEnrztd7S5+aYMBxAM5n9CAeLF9m0m1OA64G0SPMMf+4oAsbQj0AqRkzYfxJcZgc3/GLPi7sAJXyVetfD121YSLP9AacNGHKBQcWdVEv+GBQo36gpFsbaLGJcAo0d15gNv1O3/dp0+rwURkgrxiUKuN6QS3POYxJU41E9QiGWjg6IuSMPNfwHA92pU73ng4yUifLoNE4hRjty2MnD9RiFUgy9hMBC5WmJEkl3viP991NDZQ17hFW8mnrwUPT+a7bgb06dm5NPDIHabIo2nKlT9mt4HoSI1jsl9lb1Gg0wcjJg+oDt3I5yg4CniCbvUNTE0l4ycWvAHMLEu7xxqcLzeBlBeSwicwhZfurhjAFIcAT/upVfO7ddfM8cqzeJRUD2osv9DfL9utOJpvWXI0Qo5mLzJtdFApLb6iS0/QAQmhwyDk8Tw== 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)(396003)(39850400004)(346002)(136003)(366004)(376002)(451199021)(6512007)(5660300002)(8936002)(6506007)(8676002)(7416002)(36756003)(66946007)(66476007)(316002)(4326008)(66556008)(7406005)(478600001)(86362001)(41300700001)(6486002)(2906002)(186003)(26005)(1076003)(6666004)(4744005)(38100700002)(2616005)(38350700002)(52116002)(83380400001)(921005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1FzQQDlBK/K5oK+tBx/6WruhkBr4ejhW4kj9/1/2X4UuBihebxLQprylSoHoS+7tWAZ8B8SZvOAaDVwOZVBp7kduWhIwiEIZDEQc7UAuQ+sCY7Lzkvq8BgrE4qa7+gWt9LdByb/IG1KWFuO8LCX+4RFiE5pfOCOHNQyC0SgE79x8DjBZWO64/XZceJWIy4Mx9BqaGT4I32+yL0HARSgVEm2QTYfLnHVWPYnEx8aZfqNceytfz33jAjGRj7ZOaq2OfRc+ZuUUDVHEStUFroIBetbnogdx3HMna5aiip9V1KdiE87qzyhjYprS9XPzmw0HjcXaJHD4Cyxm84/VgzLhKnKYZfyhpcPNmfF0PdKsOcocB3GkE6Ax6LjSkv97cnhnQz/9e97nOskjs2RsC08fZNBEqdcmRkCpIF/5s2FjMtOiHU8n1lOiTflgJqKh7TN9DNgdOuU2iUnOIB0ALUrjh7ArX8xFTWBGFsJqpXJ8fDuZa9VbsFbI9+XvrjISjlpz7vAq8g+tfdFpT98+SjHtRcaEPj9CQGfMDFJajw+IzaJNXcsAkrqBakMUijKk9cKPwufBGU81M0h2wSpn6hkpQ/CvHMxXtQ0sBtwUBd++3ti15ZvidMKyqayVumTtqoBXFXAefyCcidBLXSLXtWDKY6t8FlXg811AZH9F1PMYUIMWpCyJtrleqDSGa115BXA+qwwSTaIdE9h/mb6k/HHsZ5NzLKU/DZxghoc1dLSVdYWZeRfkmyUhGKtCYfbu5wa8w3x1/wObyQwexfJe1V2deJYSj4X78+ds7D6V+G5VD2xeaL5IXO9fkO7A/L7uMRTQGQWVVsgrp3Zjtz6CLiU0kCcOxAPDooDPsBfqVpIKjVFFXxiNUNQAQi5n+Ivj2hU85ctu9+3e44U0xeRM1D7KB8RsbeK8nGrOq/VLJ4LQU6Gk0Ffc36T5FrbjQFuOFbUmXU5hZfI0X9EbxGDncPkevQUKWy1KtiQmOhbTwir34XBFA2NKuCbh+A0/M5RbxDzwdNx7ov2ed9QD+voXXndczJ31rnY5qhHBC29+26Tz6h4jbWqgtDi70q7b7DSaycAsCsOdme+n7MorQ5UMNRA6g27XiP0DNwdIs5s5bdPlO/CvVVfegDv8gbjqraZa/t2k1lXSV7jsX8n5nnNoKZCXrO702Xie9zWXhvTowz6iXW3c7nfwEyI+yvZMbKqw9Yd4UNKaPKVs3d17iul6LAfR7GYlOlM6as/vrUXKqgB02/XxVLIu35S76ed5jY+xhn7sbOzOiV5HhyFv6WOVTR6E+KYFqnetee5VEWe3PnujrEbywL1O4xEV6eiq/8xHykTyWsDErYDlEmCALXkGEsU1eva2XsHXCzwaGs5gOvUioANKlDKzMRBy3tXpXkS/L6Hn+3fDK4GR3ZRg3a37YyrDobD7DBLMmjWvxj7Dt9WGRDQvsJcM+T0NZPJxW0SBJVqNTpWQoHRwIX6RuXdUnD0b8uyFOdkQWyuSMO3PuDMW1OREK4pdz1CS+df+eOWXzQGvtG9/y3B3gaSAIcd1mEQLMpI5TaIJ2x7hq3QDiAxXbQUwkfihGAkyFl0wJ9UwDBHJ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f6bf913-4050-47f1-9f0c-08db76f7146e X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:12:57.6513 (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: z6YZFv3on6dJpQ02Aj8cu7vB8XxasFX+bkhswzHLVCoN1yldZ1Yxt/J6Xq/1vmULhGLrA9rj9ug5S3i2qThXpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB6325 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?1769850802977081359?= X-GMAIL-MSGID: =?utf-8?q?1769850802977081359?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12: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: 113350 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8086804vqr; Tue, 27 Jun 2023 03:20:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49DV3yO8DbD0UOiXA2RWkp89EcRkf9as5aTPCLVPMnBaf9dpvRINGG9GUee/j/1+4B4thM X-Received: by 2002:a9d:734f:0:b0:6b7:57c7:f128 with SMTP id l15-20020a9d734f000000b006b757c7f128mr2884367otk.16.1687861254631; Tue, 27 Jun 2023 03:20:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861254; cv=pass; d=google.com; s=arc-20160816; b=tUPfHpiM4lEXqrAGQ6mGspRRbI8prAr0i6j9TNE/EO4wb6/IoZ3Z+1XoRnTksVY8WJ mXOTNIFA6w3eKFCYwgVUiS3IcdMM5zfs7IFVmmm1bbfxa7bmeNG4YTpJjwX4pujXQ4zh RfLZ56ZbjaVN+xNxUmplViuvjPleYDGaNPF/JoE8hVaxuXXaXHHWiXqIO2cHY/eF+BEE vqgWJUS8u2PorH4Oht+IMVdyxBRVCDuiQaU7sPraReRUZz4E7tzsh9ezEMMjN7ARbuTB oH2K+vuv9COrsXF5MvcJYKFl9UFArUZ1LGRY1RwHifUD8QsPqkN9neX3l4Ld+2p/vz8c 6hsg== 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=SIDiHe/rKfUW7a8OOFMF6L/9a5UImOfAGi3mGpqkEvk=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=nDRcMMrboqpRKBNjarHWzGaCajm2Eh5qeQlSFCJFWA1OyvmxaZ+2DfW0AQq3IGL2vU qrWVwlGuYwpgmG30P/htiTVdRqlFFe5To1ur4FLOIyW2Fjc/Ku8eCpLLlAiEYl/ypYMP /Jiunm9y+J10W8pUYHfssE669QF3XkkGFyJ8PufUjWk/L84LK9uXyPI07dXAmpJdOIwu ErSMznyF/nP5uOh1hiYexYNKAtY4vN6B+20ARu/klLp3wDXPZtvz3TUAqATCSI9Ta/fc HUJqC19d8MUU27zD+nDn7S+eEa+RkQ+JEr6gR36iJX4Z1DTuM1Grb2MyBF463p/UnWl7 nJkw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=dyaDhbf2; 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 az9-20020a056a02004900b0055b0f400836si603823pgb.800.2023.06.27.03.20.41; Tue, 27 Jun 2023 03:20:54 -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=dyaDhbf2; 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 S231309AbjF0KNx (ORCPT + 99 others); Tue, 27 Jun 2023 06:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231876AbjF0KNU (ORCPT ); Tue, 27 Jun 2023 06:13:20 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2095.outbound.protection.outlook.com [40.107.117.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3657D9; Tue, 27 Jun 2023 03:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b4FjUfQtqJ0l1jdfkxipyqe+oSBfbRm4W9FpJq1IpWZyc5erHO5xoAf+gMpisVTr/Vq/6mukvh3eBZz9Bvjb8Xg3b88XpdFdBy9OmBpJEI86+CPQYawG5rsNOuIjBanWCEZBKl/gmbrx8pTz/78TdL9OSmY18US3OC/Wvltw7ui/28DDpzr+Sz7PPp+z8nWuvTT9/jpsf0z4GnZMJDUyYidIhQxGzwOM7fulcKZR5yDn8M8G8dSXi2KpY2wfRvpN8MQ/B2LCtat4eow2Bvd8zAhOZNhnXn/CO1l+nwmn4JDj2+fAMoUrK2U523DJGuaz5WRz9RqG79JwNCN0mzj+Mg== 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=SIDiHe/rKfUW7a8OOFMF6L/9a5UImOfAGi3mGpqkEvk=; b=M+RzrcwpZU4kjsTky7/af307UisL4jP5dp1DxEi/HZOGlC5kyAh3YsbanMxWUI8uHu+I9knFSf/09EShALdV2+SUiavkbI4898xl2+fqmNjWtqqlLHTuPH8RVFs+Uz2hgPezo3yAOcHn/lHoGiCwr7r5M28cUeyw6SAWDUP2QfmV2vx4LFkymjP5RtOLR7iu2/WRUdcK7Wq4//XAjpVl7IyTQm+F8OjaYANKtRyUREwEKy4QPpU6+vJ68mNapND9QqObmQF5maY8ruTG5dbHrRs8yby3brnPRUnPwpn3JnZnWUlQ5VhdgC2vCUN55+z21tF7RsWk3g7bbt17R7atCA== 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=SIDiHe/rKfUW7a8OOFMF6L/9a5UImOfAGi3mGpqkEvk=; b=dyaDhbf2Eh6qDkD9c82RRdoAUfsbdzDdCKB0Iu+r79lEAXfZKx7NcX/XiWT+9aWLXnSBpCwAle9uCM0twutrLwaL0dih7qZW41gyznc8I5Y5XeYpcvPFTlYerIeLnwHZ6cJNnwjYo681EzyqM/HMniyiTAa0a4VLodvq+h3LmSjI4rA5ZWh2345+LH2ET35xXLMPFzp9s87H3C6jahv57Rh5oWOGzLQC1PSfRor7sLdmtSFk7CQgCZKuA20iTbpklgbeqPhbq5GGuev3Lv8W44AQAuM90dcEqieWJ5k6GgeUiUvEyvopnPQ4JkvY+52BzPNTryWCjyooxblCyhUTdA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:04 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:04 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 06/15] thermal/drivers/imx: remove redundant msg Date: Tue, 27 Jun 2023 18:12:06 +0800 Message-Id: <20230627101215.58798-6-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 318e6a37-01ac-4c1c-1243-08db76f718a4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I7Oacp7nXkD3qjOQktH0o0hDIhUEVNltUVP8sSrgwdlFAmdk7lAnhGte1ic4/0k8cX/L/7AEEyxgrxvjRW7JANVRlU7m4olDGjw7n7Gqm/PWO5FsGwHOTNNo8balkP0WJxyMmv7QmJvhYPw+CcWA+aWqT8sTn2CeCIMAj9EdAUnQoyRSN1WFmT03ZaLq3oOnBtl0aGXsY71M8ek19Q5ERQnNSXPCd08eLYBMnx6NlGQng0jl7irJlbyoY1U/JHRACzGnCs1Ix40gDO5lyZkJPyaeekf1JECVtws+CWLZLdC8JrkTy8hPfa9PDXAeGe2i6xhrKRxjnqKyN72LYwaZG9ZjSRu9WG2hCZGCMR6A5UBmHkbiYYgLFMCMZVLcT20jDi/HrEXhy+cVJSdMGlVaVKHA5wF1W+0mBkgX7pwrq7vaNxpEVhWFff3c8c5BS0UAUboslnp849IWVRtQ7xVxuNnGlneSoE2hUHPprgWfL3FDJ8v3pE6YPrwhI8ub0OpAvW64thltJIk2BUY3D/2WJCM2DO2ldozkQQ+uMh6en7y5hlBNtWKdehKdj4VyiLR811VcE8i+3g5vCcu/WTMFGcQmKd2Du5B5pANOHUZXX3KkLOQze1psV/P92SNa1n3zDzmsNkHR3xc555UzdRhKFA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: L9s1Pxc1Ka+RpYFEv7pd0zZazRs3HHtoZZ/5rhVYsICAIM0yvid8+aO4jL0X7MAviNNbtfV4R3XR/vw9rmrmKmEnR8NkjBsZlGrxplDBJigFC5fyoBvrc4IZSYsjcrRBydM9uMJP6ZsP2RoayToWf93N7lWODhQfORwBYXUmwShH7Bcvq8HwLek7GlK5uvAAqNQAixTwFxgaPjXiMjB7FAwKfEkSAeI+WmovYavzIC9dDgrFpVLbS0XPXDlUMntMjBS8bj7zbUmTurhcS9V91P9OqrXO/TYzPfIoG0gDOG4empBuS9p2IMMAC1fWy1YU3r/HFiGv9AVqG4fIapXnLk8KIbiJfACHsmND7jSNuHPUdw7MlBSbU1uXPPmWoT5EKZKMsboxxXBPLfZ0QxObnf8K8G8YtoD6zOUyNuRUS/mCpKve51+6hDfu0iE7I/2D0YhEJdedHgq2QF2QmqTSSxRtSlujXljIEce6IXHmw1sMsTq8ew36TdJLmo07R6qQZA9yft82KmhEBoBtFpv9PlCpHBwYn3dI28tJwglFU264cfHyll0dP0LjQwXkHyApYcfNgXSogtW3JVJHCH0foy83yf+1r8TrJrGGR26I+ry9Evrv++o2uqgkUOSzIs6slQS/UFON0k0Q7WeVSodTQdv3lHjUgLWcmfBMtvVkkeNeEkxUAembD2QE2aJ5SOxfNuPqAA3cKshqEXCrPQ9O/xgeNpH7oduFey10McpIdd1yZB3kQ5TBk5h3b+5BHs0QWkbSD3FJVVbQ/kUhlTm1mZencnlvULpDRSeL5hMCS9iGse+vO3ixQb2DLJ7B4KnVlkDsI2jVuOw4t4oZ9aigDcexP8EAf2icjYdvlA7ypYOAU4JsKYlFDj285czv6U8oGFIXEbHLnDHmCAFTIDZzET4O9/FUSWelYCMQhmYeaWijhO/M+PwWUgm3DhC7iNMUahA9A3Fcp3TaRjkaoGSeCPS1NvsCUns5BUuyGBe03psyx1nZrPSMp2qi3rRB2D7at3GBkc2n/oq2EdIJB476zWnGQ9FB/yqRPSk20bLrdQBu1osiUFv1JTcDTeAyxOlnfbDcqEVTFn3rQtN+SQB3N0Zi/QglA7PJ+iyGGJrqmw+7Q6pPEJgNfb61WljJfCaciwbgNSYQX73BPxoepB931VST9sT9fxXKa1P6mizhjc7SwAWp9U9O+FFlNpyovXJggJbgKBlAyU0Dk2FAzJ0LBHyPJzorOW1HlSxKsEsounE6988mcwhlKYameEDZ+ES+W0QfOQKLgsGLIcXY2/Ecl4b+kkGTGKechP9+MWPn/lCrFvNsnkFqdH4BVrFj+mczW9Uccach1DXN4UxEU9OxxNHU7VY4JFV9JYfo8WjShoycM2AhysxZmNfoE8bTJzwMlYclm6wvCxUDU8gzV6y3ePBiepkk40RVwS2eN8E6PQzEaCOGjY1hi9Dlkmof60zMw/XUX841bzAe+h/xsAe6u6R1DZ3x39OWkxkhleabgd3V4AMDm6EaEUhCbvGYQkZ0NliNYg8NVtZ0HVczNgymdY442D1IlIHMk3G24vayk1ICbgSAZsJmmTLBTqrVUMza X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 318e6a37-01ac-4c1c-1243-08db76f718a4 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:04.7245 (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: NhrVYK5MZG/XdnI7cQqQACKDY0G1gfxL14s9EQP/XFODqwPTKIFKEylMzoxD6jCf5RL3uoe8i8JictQPpx3FQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769850802743928748?= X-GMAIL-MSGID: =?utf-8?q?1769850802743928748?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:07 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: 113356 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8097200vqr; Tue, 27 Jun 2023 03:43:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7FQljOe1+E1PcWyepJN9OxjPsPzSe4kTFLBHsD/qL3CG1uNdR333k9cJ5DJQhA6NxvBz6Q X-Received: by 2002:a17:907:9415:b0:979:dad9:4e9 with SMTP id dk21-20020a170907941500b00979dad904e9mr31198236ejc.50.1687862601225; Tue, 27 Jun 2023 03:43:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687862601; cv=pass; d=google.com; s=arc-20160816; b=oJNOzDTnuOeoSWkT+pMuiep5w/vDEwAPsin5fOUkqZLa2mbi0X0I9DyR9x0aX8q7/d tUAOoexJOXnU0sRoFbZYHBlFLiOLvmjTm7SktHZAJ21l57b3OFCGF+cM3y2VDEAd4dPl zOkpFKJlG1QCnD+N0HcQoSkLm9HbrtJ3U383oG2UO5YdosLXGwMlGeQSWTRXXMp+3IFT 4yCuXk8ow0FKV404qB3H3Of50D5IerydGgwxatpkGGFx5aiiOOL/RsYXNNro0gprQ8iX s1evX7vD9VGtCoaBhJNyvpR6Ywwn86ROQDr3NctVLsYFy2Narhv7oDjHsNKNPdqRwTUl 8UFg== 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=I8Axm/BuHsL9VLgY4AKkzo4979rWeQfa1Dr9NSzhxws=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=SroU05i9AziTGBsc1RJ0WPG2obgpHQCTdBim5FxSCsP14LoBFGOqWF8D0t6CWiQNU0 wCFpzSv51nh4fLQtLsErwQSY8NPbS8iRovN+pbPRWC9BwvuN9FQwxFflnz6Gey7o3pai E1M3gxqoN8VrsJc5UF9ADk2mXYAee9/cmqG76mA+RM/jCFHYRAQphB+AMyxz85hhyCra TdVqY10nIKsCy31RMcGRiOaQHi2UFIzPRKpvSHjpbWQW9PM4MYiOO8DNwYG5rkGCe+o7 10sPr+uqr/gjt+IKYPBMefopsv3TWSTy8G3oQK0Uk3BDcCtVobaU/03meUaWSoHKMs39 M8lQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=WQktMvxv; 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 br12-20020a170906d14c00b00992437c5888si95323ejb.291.2023.06.27.03.42.53; Tue, 27 Jun 2023 03:43: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=WQktMvxv; 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 S230144AbjF0KOM (ORCPT + 99 others); Tue, 27 Jun 2023 06:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232010AbjF0KNk (ORCPT ); Tue, 27 Jun 2023 06:13:40 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2095.outbound.protection.outlook.com [40.107.117.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A21EC2D42; Tue, 27 Jun 2023 03:13:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kiw6BynbzZ1XUDf9BkSQzUt6j7u1Gem5G8OcJ3xEsvWRuhKVW/bTrBuPDP9eUBNSkoGms1WxVikgxJ28fzIA6dXSQ2DB0+tLvm98O2kcntFExbrU4rnN6Wi5x55DO2hZlGMSoPcqSmJt4E9skoAurBO3KcdV5xb39rPep97vjBb/C6O9IkCbE6pcfOYAZmIj/45YIRB1RasCyJEGkVEtPoic1JjSP1+FklTXblnO2JknNcGqmiRcZ/QBq1kkYiZ2ry8cGloy1UQIuowUY/468fYbaap7ED+ssoI21tyyJjRfm1HmJK2h7oJqx/8OXuQmGnKuSLZ+spL5UhKWRurNCA== 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=I8Axm/BuHsL9VLgY4AKkzo4979rWeQfa1Dr9NSzhxws=; b=oJ+/fuaH6gpK2Smme6/WQAnZtXfOkbJ1yj+lsMR3QCQzj2F8Qbxa8NnxmAz0X+vnOFZBLNRM1uxBD1JipBMe+SiqzoJf+A5NVEHmkBiht2FPbEF5ewNt7bbWJKc+woDoZWwzyq9y8CWQ1XwFOfVUXugc70T6esPgfRVHeID7S5OFAFME3/aGF3iH0987GQo74uMc8L/unU8lNf8fimeegYKQk+He3W/5cVjhs79JwY2HhSASSAevZTYqxlMzVViD0mu4PYUkaPxCE/+c+ja8rEMKerwWxGk0br+dfeFfLU3PAJMQdGK+W2f6qQSKihB3HXV2HzwjTJCzUTcY+wzNRA== 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=I8Axm/BuHsL9VLgY4AKkzo4979rWeQfa1Dr9NSzhxws=; b=WQktMvxvOQA1QjcDDGXW6icrvuowYvgKDq6hfbb64jCqhv9ecD/Y2MYvC4/w1UxHg4Vll5xlHMozZ1674WbxwRcOak6KnMC/zkXZ6LxJvokUQr+fEivruLaJBDgoSJay6VsQVBXmlhJOBh8qrw0CssX7UC3BxTPEHGDPvqU057Xjc5/vRFZIyFoxkcBhP5PkVwwerqol8ldbBwbMsDt0f5a/p2WWfngcpwB5RmPJlrkWCM9hDAfRqMpf1RisPAdBoIjNmsTv9JcdyHVVgg6h0XAJszJWHeTGxgcaATy/O5lASI9U3Tt0UaaYzBp7jteHTF8PhCKby3ZVpyrJlYuong== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:11 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:11 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 07/15] thermal/drivers/qcom: remove redundant msg Date: Tue, 27 Jun 2023 18:12:07 +0800 Message-Id: <20230627101215.58798-7-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 148265fa-4ffd-43b2-f63b-08db76f71c40 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eor8qGPwK05CzpM7iWwIfUlopexYW7aOWjMw/z1S4KSslc5SEYTjLQqKgCul3X4UWVQuszTDtsuSEQM1XCAlTT1uUB0sqTVFrhE13A9jpaUbub3iJtGuoeWJOu24+DGsp3U+rj6JnnEISwxcwgZBrBUCY4Q3F+vFqdXC46famkRYyG+e5ZLCHyoo8NiwP0F/yLKOlJOXJqSwJ2xH1xZ7npHhu543X/Rf4gUIgoObLhwDrBFd8ebVovVZx6qxzpaMfovN2O2TeGO1yhv1HovVu11J+RR2UnC9KuGCKDWSlvL9EZI5jy4fKe0mdgNGXGz+myDZxT3MRO15Oz5eYJhxFYTKO4EgpCo6O5F+bdlPmMG0JQhwrbb16NMwodwcx91zRgyc7qa/4k1CLNbBauZIaN5ZggTw7TqK18bm1Vy+JeMksCkn2GZSPIiFL+tIkNIOD6pWHQ3UJcp2Xy0rJFnhfsAndhWQjSO2aVbDLg/WrG7ecfFB6+zy6SjnpKglfLGJ8EELAYrcT9dWIXaE7Xa0L7/sIDKfvaCMz+rQPmh3hLHB4SvmD9jyC7yN7UwvkRfXXz0XkT7/nMkwfJnjDO4YO5uzkOoz/+Don92T1cLFt7MirlgFu9j3DXvHUlxUskCqFdjwX7njO7S+J4P1yph7Hw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fQTMr7uxST8PlTaK0R0ZATo7dFeZUYQJ9uLrhi0q+b/l4XOiEiVgAWXEokaoRHti8N/34F50FVei4SC5mesPwnbIuT9URHDmn9/nUBSQN1DEn/jVPtrqqHtK+vH8jwGFbLdaVhKklc5YQeX2Jajv4fJIbc/jKoSZ/AdDTHVrG8BF5mpdZVmd81HerLbHB/QPNzFjZtwlkySyq441v5GRJ4ZIKT5mEXjIE/XpoBHmyGJCqzhy+i1kVunzqN+Ek3KZcngXnZLuy5ypmmmvYQEDOm07s7tNOERg8ZDKf1WYlkns51ZvCzcJicTjmcNz7sVtJvr0EJxKUVtKNFBfHOU5AfBtGMxxiEm+Sfjyt/8JoWcCkei5Tuu/P6uKuBer7om5foCOSk/V1dKeHw/1ySBOOcknqPK9A854hpYJ3QHRenrdn1WzROoUIz4SqoiVyFhZJF2j1iAVVA4sO1NrE2OaUC3Y7y+wJKHu15/Qi3HmGClGT1zu9aKp8wyJXAq83WHuZmKx7pynss1WDsgy+8ezA5HUp6JBj/nIAgAS2WDTVHtoXDcGZ6qas/JZqDsNuzFVATn8iqd3tZMY9A7WXurB0WMIGuUxqVVdf4QzDbiGXpQaN2Xk/YZMStg0ph/Ex1pi8PzkIdrXNes3+F9eyQ+VxZB2PY+FSl37sJTyxjlrEGtYzy5mFkkBaUVnIDQH4yBT6dPP1y5HTguyldQ3QO5vPqRExnXZmD/m9KUHvO0dx9fjs6k6LsoXxxxiX2Cc/Rh5K2CEvsZEXOjdNMV+DemB6+Be78+26tx3tR7aXj6i6tKyku9Xo9KhXmqmK0x/pb2+cnuU9NF01wHjg+gGcP2KhHfHEEXlRZVT/JM4e903SgwwUjdXzmKIb46zxuGgKoCGVSga6SszTdZxzpebiaz6b1hhRWQxnclPyJ0eYEW0QRORKg9g8J401st+NW1cvpSSl0uUa81iQAO+vPzCniT5KdhhqhGSqhNklvHNgUvW2ZV8vYAw09ZR704SMtxBNHSGypKrDDerORhinxSU6bLK+4eyVZ4Rb14qyNrX+kNXXbgzx9Vozvs1GyWS0F8zeVyawrRgRzvKSfAEL/6To036hOXIh7WevLJtELVqfDUOQBvg9xlExM7TT1C6GP9JeJzF2RghXnlfYvqHThshwrv2eEPKFu6Yfnec3TBlfCX+L0ShhfrCB1/ofbG+52ACm3hO8yNMDDXNIW6ym93ai7574yGPPISMClkwpNEqgli4xqolNrMcCWWQ7g5O7lNUJnsAYjlMECZssJS6oydM8Fo/5GTZry+1R7YwQzdvUnOGA6cuwHNJD7UBhb32+JvkPooxLW9uLKcsg7C2JyNJc+PNTVwkB6c1BEbHnONVEujhmQAxF/njIh9v5eTlw9nh+jWyJkfUTOoFpEOPDS/ni/2ItAtwAoIQqFX4xglYuQxtYCRIOpbKmkRAliQuSg2E7w9OO8AajpWTHOEa+fYhAB0OzYl0uZjVYaoSt5eSQOromor4ThmXW+oHlRbS1t4sKw397inyXUfcy+c2PeZPrA6sRgnNsjXvsl0hxGvsUIqE3O0BokFTbF82Yi/r47lha6TV X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 148265fa-4ffd-43b2-f63b-08db76f71c40 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:10.7839 (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: hVNuQbifJahXTOWVct1tRThnMNdv0ju7mretjlBVbfalg5oMpob/exAlD5IU34+b4MTi4Wx81qsgxQoQ1iuEWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769852214652388888?= X-GMAIL-MSGID: =?utf-8?q?1769852214652388888?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:08 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: 113352 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8086884vqr; Tue, 27 Jun 2023 03:21:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6C5jetfdBJroOXShovycNN7cKEsCh2gsKDCyIfuGBHxH4VySTtlaDnKUARJAl3cKqKCdbD X-Received: by 2002:a05:6870:93d3:b0:1a9:caa1:957d with SMTP id c19-20020a05687093d300b001a9caa1957dmr19279970oal.5.1687861263819; Tue, 27 Jun 2023 03:21:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861263; cv=pass; d=google.com; s=arc-20160816; b=du6hlGIiMn/JEPV3qu+svsQa0sGAmB/lh2/aJy+pD7B84BxsVLZ2VhS7uPg3VyH0tt MoC91lRQ1oCN+0EqjDKnzKIqQzbHOnpM+vWuAqrdAJdQgqgC3qQhhJcJ8GOHZb73D1Pc dmVcuJenlRYcTM1s7oc9bxvHtXZwbdRVYwwIUfDvjIxK3yWuUhWPUXV5yS/gE6SnbL2T Oc7Hqaf4mx2VYMuQdXjjIaCo1l/ZfCx6N3t1O1BKPDF7FfNtAeoL/2VJU9GKitUhTJUG 7JMcxey6MWkfKMKBGUhMKgyIwRtZ2vswO09OmyAl2SEE83fJoGCfxSeyVW47WzRZHQgm pDFQ== 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=OXyKZW0aj2PpLbeRv4C3L5PDEJAjRqqUh1nnbB3UbQw=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=LoFPbnpa+8b1TbINyyXS4+Wy/XzbN347ECuv+DtdjU5Fsz4blWVKS+SBxkANcTei0+ 8UCpFvgu5ndiDdDHvdZxRHDWc8suZ7x8/ta0dkFmTg+vLNk2guej3H2J166rA7YFOm4V QkvwVOJwlCwf7xBfdN+H5K9Yn26J1Wfo3hfo5KUzH3JNM3W5Vg/hDK2WCTvIA+pvpKzl pz5m4pzMhvA1Ld4R21UKDxODqPYOmifV5af+mJm3M8Dw6ZiSfrTLkt80AmvrzLfMT7nc wpIC4D3cM9sBzNKIom6g+GsiobF09GPQPDtayTP3wHIS0oYx/OAfxYmlz+5T3djiDlFh 5Gqw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=of9AJJLn; 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 w20-20020a17090aea1400b0025bf45ac365si735302pjy.82.2023.06.27.03.20.51; Tue, 27 Jun 2023 03:21:03 -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=of9AJJLn; 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 S230403AbjF0KOj (ORCPT + 99 others); Tue, 27 Jun 2023 06:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231799AbjF0KOI (ORCPT ); Tue, 27 Jun 2023 06:14:08 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2095.outbound.protection.outlook.com [40.107.117.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD97E30DD; Tue, 27 Jun 2023 03:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OmBcx+cB3ZVxPE6HWb5S8cvsO9jfBQoo5/MSKMlHNqHqbbohrNSvU7W86UDWcaUMyZX7EH/DzDylCoVFZ+26/I0vxKkzeYs2davC+0vDz6c0vNeVmeD7DcVU/I7pg1ZVKZnqvwTkVCML2kIfjiNPyOkCJ9EKv9irflTATc8VjBA4XOO7j/AAZ2vOE397Ojqt9EtCZqEZUwa9bU8qjDIJPgbsahvy9rRAft/8kScO3iH8NzIFTTWwVr1uVqcf+K9NV5PzQwWaaVLdlPenBobTlvaXlyuxDZCawe/BV5jMnDCUzT8G7PfhwuGYBeo5siEp91JJmBSYXPo0yZWO+WeYnw== 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=OXyKZW0aj2PpLbeRv4C3L5PDEJAjRqqUh1nnbB3UbQw=; b=F8E5dbl6bxRyr63q0Sr0qQKGWcO4j2mMwjA5kwqVQQdK3lZhcGym5I/QdRTykGWuKTw+n7V3CXZl4Bjhfuay1ehxo3j9wHm1ZckYwCjKJBy2/lMRHl95IvezE/cSdRqi6trXK87WJMjRHORr2oHgfecD7P0H0quNibIiFpo9PVhXT7TblawxxUfJwOKutICJLIIyCSBcUPX/q5gH+8VctcSQuyD1jV29I239mRqRyu00m5oBoqsLCwdFAYymmfYReYBfpWc+yifc6XojBbZhyIhkPXRt2ErUPMFUoJdjF5544n7Ln7wSW9NjlE4N7ENbxX5G2Zw22HChGPq1TuTA2Q== 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=OXyKZW0aj2PpLbeRv4C3L5PDEJAjRqqUh1nnbB3UbQw=; b=of9AJJLnms2UHdrCdF1h8G5gT/uXiYq7+YfhLF8XNDWzjjTFnHK4uqAIpoxehxY7uCRB1+xOcdvdHT45gD3UwsdT/TfDcVke2/YP6KljneGvqx9k3KHzhZffemv6zwUCn+Z/WSKKTOx3Mh1JGOshpKCAh5YTPwVDmB5yJx07VzaELWxozmn/8dIPfkuyEUpYiaTIzZ5bdYySr6M28qVAu3fqK8ymnsNBXcAlzUYORU04b7x3qL5osVOdvHH01uUzRFmJh5chOFVdjBNCuhXdsyp3m0UGUCpbTjuFYaUBUqeuR/r5VXB3ryr/+kj4qKVC7+TmJtgTgTZ73KPxAhKCjg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:17 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:16 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 08/15] thermal/drivers/tegra-soctherm: remove redundant msg Date: Tue, 27 Jun 2023 18:12:08 +0800 Message-Id: <20230627101215.58798-8-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: c9b0deea-18f5-437c-780f-08db76f71fdb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UlTtzgRn5FXJyhAip4jwhh0Vl5cJVmJBmXhdzMjpKAILOSXLVYy9j2QeN04DfjHAHmvaPcbY/GHW0jsI0QGrZk5l/ESD6qkJyDsUuBCJPEABr+xPcaCMrkdT3ju9gf109itCZm+fnHmLlpVkpDf0yoGe7lIS8VC7Ab65KqwsLvB2KrlffNH7m1zLk9iSv5AEVVFbzoLMTqbJdh8peoIwTadBogm7SHgdJR1FQ/79vsSUrbseWI/cM9vMhfs28IOhAbDJaYsOkGZyormBmwXAu4JoVk8RGtWXLR/EmnaEtRRTQo3lZGmnFJgg2gjmveUSwpExjgNC85uk8twKGY7kfYWDUcMw5TgTI8IcKQYHY94o4MyWbLbRabIep3ecG/wtcgnzEEOFwAR6UGQFJcxy4B5E9HEDRcz6kUI8DZ7oW1YyOQjmhfFH8I6CLkKdxcuUpBkhw54g/pr7vcVJbS3oEdSSwIIGvZktwOApbmDqlj82hY4Td8vJwGfxaA4LjD/xTltfd88i/Uk6vANuOWXqPNZ3eCD4XH+hsVfU3anTfV/OUxfmHpDpypkI/Z0Kl/BYeyxL1ijDR34BDdjFE0z6BeD1Aa3+BJpSd4ak396TZYtTAoOO+AQsMilBNc4QFB1V X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +yiZLuutQmloOKNeOsCG/BUmeMiq43sB8/rrT9ujBxJ3ev5/THOQFNN+qG6+aMlsqwjG6+WX0EdSeZZzt45osQgw1mqvM3EXwlaQUWzOcNIJ+mLGAOk5fU2Y1XXvefpVOmzfBetNUsS5jRlVFQALrejDBS/NdRdF03U2phSEPRVZvlvMcTwBtmAiZKWznKSFQtErbohuMHmP35OhXxyySTbwBoPaQbE/BL7XqLTcCdW65P/IXby57Ql/FQDRRCaE8X786KPBPbUslkWSis0GvfIIWRKrMtQQhTJ/Z4/V1PbNbk2tiwQbFH4pkNhl3xPqKTo0v7otVgw0r2tTLfRzGFI9hCg6lrGfKcEAPcPflsYZtSz/6T2ph6a7ERCVxdus24bC6i98d59u2/8mTUTGyjqDSLTz5YdOW+0mXbcWVAUPbdj7blL5w2RY2CUxKvGXQHN+MaumbbMfn3K1vVapKEZKRgFalTuI2OSLPbBxoTgOoIzkrYUSgLybmeYNLKglxseojvhe1U8iBJ3PdlWmuGoUG1lM+Y30C5h0ta+EAWgdywWEqHa+pyexXEpkRPnaMQfhwVTPBIeG2I4wqzA1C+F5UaM+VNMdWED4JUFZKvtRM+wmONHx5LhyOHxH1bvpBlyG2DOa/mUQnPGZzCkDDaUxdw4Ssb1Lvm+Pn2hLlQwprPBGJK6pbMrJaNBzk5+D20FnSn5wMyawzinHLktDWDGtgwVTO6gTyjJsAqIAP5nTn/+MTdezl/MvNhT/9iJsyjZl8hkf7IJS/Io/waiMrAMAqtBFSGHv32xUl6eC7Jwd2KqelxIV01GhcSU/AYn5J2pAfv5rIuA2No10huOX4RIWYx9S5QEW0fzego7K1aHMmZ/xeWWtcLbn2tx+twMSE+xkBzXwcb5tgMJzcavUkOlr/foFO65Zwwr/+XJaDfRQrrOOeCY8dltqv9uV2S1rtrD7hPSWwmcQuCgbecvOzRq/jfDg3n7S0dRDg0RmQWWZ7250CofVd2FJ88ih2+eT2Sd7hmGnqbUs9ktKGzpnG914mvRzEehsHLzjknSUhB8NLpI3zaTOGZ4qTG3LpTQwlAoUfwf4KV+q9+roTldO4JP6FTtPH98aeQVdL6eRn9dQt0MeIGEaPx5nGlXxdtjdN9n3t4renyJRSkwRUA0bXFeDNK/7onchBGnVmrOarBq1WDs6JC0+OKkRrY06k9XI54hErbzMATnbkKqHllTNQCxkcrI+VXk6D8MSl8webwAhuxlgqaBPc2lTKA+z1HWl9F+opl3pOmOdnfciJtUASQsu9CYr8h5YK17dE2NfPSkB57exIRpePcgzVxXfjyg+46ls7GdMXOWNyCOg1VSCWVpU0eKJ9NCnSYkwDPfL+Cy9mHFTLIWWtx0XBpI2gcFC0Z6vOLleWIo0zfKppaNDWu7dySwc09YszACemEuAx4peTeSQu7gkn7elgp2UaGsh6L3f1Bw94s8pmXzSArq3/dA0c0Icn2pHfqRuBXLNovEBwSww3+NaCikplePJJ5V+II1AgWRbiYipvfNFB+5ylVg4VK0wSk7yi8xe0/x6ZvnXafxhy2yxTOZtfdit6Xt/ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9b0deea-18f5-437c-780f-08db76f71fdb X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:16.8311 (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: sFeWX8FAyBFS0mELnqJPYLHzhLh2wJM9ug908heNIqS8dv+JG2ulRq6bxYt13+aCtmzHvxGyNQ2ZnDOEy+22hg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769850812371813369?= X-GMAIL-MSGID: =?utf-8?q?1769850812371813369?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:09 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: 113359 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8099312vqr; Tue, 27 Jun 2023 03:47:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4SxCRmcDjjTX92tlHJsE1FYkSIuehwsLiq3NhL/XxWgp4+AfJeOi4FjaYJMLRgQO1kKJAw X-Received: by 2002:a05:6402:8d4:b0:51a:5a25:6631 with SMTP id d20-20020a05640208d400b0051a5a256631mr16350722edz.3.1687862876017; Tue, 27 Jun 2023 03:47:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687862876; cv=pass; d=google.com; s=arc-20160816; b=jBwfSmUEwL9HOi35ixaOFaryVAJVEhJSNEVQvk0qs3Mr5S6phOhINJxJOZM4vXtEBR samskCV4mS6cJN6x6T2A/G6ow4n4kdJ4dYEalIV1z2b8hHZ0oHRTYYIKTf0exC/UDDt+ QQPbO15XHqoVzuGfWcNnHEQriSxXpdMjDRLgKxzTEcBH0cOJ9a6tL2Snoakpq++0aikD tBMFVkLkvvx0G6rGyCreaXSrE8mjs+WUZt+wx4l4AxNcxUnpQqiKchuATMqZJAK8CMfd NXwA6T2WH7vdHYSDuCrlVHeUm7ySLa4VitVPqkDSMYo3pFRQDUhHGMP7VPrt8xDvmbTq dCEg== 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=A/rlOfquaMXUGdUWEb/wXMP10jxf1Axfdy34B3mLYfg=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=bsq5bH1qTaiH7GW3zEd6bHV/egBxoqdi+HOrCcTRqW3KzAhRCOPIJ7ihttaI6LqdsQ udt7FzzwTjbrU0K0fooIEB0XDcTYSGOGyc9MV4v09/6e5ciU3Hi67y4sdhTwnKMPAILi 30+dZnF9n7jF+k1CunqBJP1lKejxiWN+Upu2LUnBs+cDdEiMlFesRLVPqRRuGyfsdCkk BfFuzecXeLPW4cCuiHdpS8UZLSYIDtL5lx/YMid+czriF+NIr1K9VOzWxGbaLWyXufUW 4cbt4/OC/X1ABV9Q7ucVRuTgeWxAnel/vcDghm/HbwMByHDQK/9ZBw/YhZ7qBi9Uw93q cWVg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=Vs6G303a; 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 c10-20020aa7df0a000000b0051a44780517si59252edy.49.2023.06.27.03.47.31; Tue, 27 Jun 2023 03:47:55 -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=Vs6G303a; 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 S230453AbjF0KPQ (ORCPT + 99 others); Tue, 27 Jun 2023 06:15:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231696AbjF0KOc (ORCPT ); Tue, 27 Jun 2023 06:14:32 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BE3F30F1; Tue, 27 Jun 2023 03:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VpKGrcP2zbcIFZ8uxKL0HLOM78FdvY98NeeVF1k+YrkokBMcCiAnnVqjhvufM/6bAZUvyFm1wube+thMBn5bd+z5QV+N8fbI0gk17tuM79dZgx82kQraakm3wX6quXbJooRZHDDSkPL/TFN2407nxqxsRisWByLcGOCTvNm8NrEZVSZqfncoDGKszK7SOQIi1igeD9D+5LjPgvshJJvMfkXBwOM/pbNr6pm9QCmFiqraS5dq10oi7UeOU/fWev145AK8BVjL+wVEG2aq49j/SIJ4vv5bGyNai9FDI94VQ7Cm50ezpKHhXBs+C6TIC7QBFT19YDMOaSFNTATv/whPdQ== 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=A/rlOfquaMXUGdUWEb/wXMP10jxf1Axfdy34B3mLYfg=; b=SgkM7TPJd6g768l4lKP+hh1TGPfnbC1/q4xFGQl66ZRByoUsAnxhDlWIW4p+cr8OwrHJRdv7hTKWNZp5UjG19GE4RoDCf9jn++1K5uOwi24quf0pHWoLdcu4AG4FJ7yeWA26pQbPWmEie1TAqmy2eSwUdDNE+lYJNHoap0aFXtsAswqTCrgC+cwjBSpHT4+I5Tl247soGJYDovZ32sGGneesWGs23O6KkMBYcNndQHhZ4+0DS9ucIjUCgMWutZEDAJ8LrTtu25pLLoYVzbLS5rVcmj/S+906dnLgs4UAgJacoJc/Cvr2+guqdqFQHJ/UwmpvRQM+UIGeHU8Pe4VahQ== 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=A/rlOfquaMXUGdUWEb/wXMP10jxf1Axfdy34B3mLYfg=; b=Vs6G303aiOz3gasmAypJ7+xADoK0FvB5mFxU2YnFXZ9qMh57u4H37BsYwXpnBI4yaueD67cE6f5piiYjV746Q8yvPKWkotJDFBoGZMDMPzS1D9/560TMnGoLDsogmnxIMlWaZZ3NB2rZlD/lJVhw99GKt0sfMBgCnRqTLqM91FTYo3+6Pwv+Eo6SzqYh0VHpffv3ABT8n6xjIbAnmksXtgQFESxdsCAiCB1TpCUcHfqqJmGpkp2Jrrb99QPS9DppeC+27fB4DXaLygT4Ow5g12gIecsT1VzqQLS1yGuUv9ZSFiXoRaTp4CjS98Gl6GvCOH5yQDgIz3pOeUPdJN+l+g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:22 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:22 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 09/15] thermal/drivers/maxim: remove redundant msg Date: Tue, 27 Jun 2023 18:12:09 +0800 Message-Id: <20230627101215.58798-9-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: e8f64403-7b3b-4767-0e82-08db76f7236a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +mM7JcDQXqn9QFU6mH6VNOol6qwQFfPYbo1CD7ZR8X/eqwIsdL5L2vPo8PKRqZ7VYHtsnZ1uTRg6j30QYH+fJ9krYhOH7+qZWgsYnYxd0pntKJpSu1fXP33r1VsLBnL87eUW5RTp5BP81Wa90NTLi3qVs1S2cSn9l8Bpq0wqERj73jrULCdqohO2yOi4kxqz4Iq5J8ZQbn7NC0dS28JmmHbMn02ga+TtXcs8f6/8X6CtxZAYc7qXcTJp4mwLjeeb5VzEvkqnyP0t/MC0q4/8UTER3zJyYVdKVhTDgZ0/doxahmu3WoWyCLsxan56ami2BjYKWK7Cev8Zb1sBhyo5s7kZR7kJyH5mhV9ebajfA0Vyt1G3y08fDhMrILUK9AU15qN+9IIkoN47T3UuuaiXTRRl3jLqeDdQ0XLPKMCMFwFTd6cBzNSCxskC66ihuCg2zqXHob5ddLZGmfmnLwvr+7Mua1lGYFi6vuhe8qqE0xiW4XQLU9Zc5JRUYRrGFmkY2ipVw+bim5k6Q9nVvP5Oi/4+jdK4bRCwDLb4dk0zCsFZcRIoLbaLromNv94bZV655ew6oIqu1Ws8zZjVvipJrWGdC3WUU8ULOLL3bYhcWP7DG8r1+nZsMFntO4yp/94JDhqwpkLZziQ474sr2ucLIw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2b0/RxNi0stYjOlqFnzWHPnG7A8UnF/uigoQCEXI0IqRie8Oczg8AdWR6f5zfNVxjjpTkMivNa/OHusPP5VhPjH59quSUwRHutN4wJ0eReT0m6ep6TfP4j3tgnHph2vXP7FjGQN+jrlotAG26kyoBvFenpK9XXKskOGFCAsyEJcxqVX6VDjEmGJW3oYk/9tNyuGD+NbsbPfQ+7gjzHlQh95PlYmNjn8WZkoG2rfHxOCvqEY6iI6XLugjhaIQodqrsdq1R3lF3N3QCAsUTEgTboRnhy3XKnK/vpsQ6GctU+++qXnxNUhJsIGPDRAfK7RRWcF3jev44fnXSB2N6ssq/26HN38UKC2byQgb+nrYg59CqRU753pDaVdARiEMZTuBrWLb3eX04dJ6j95p9GMjn0/EUaoPRv4E3QtulJtRgOVVlNfTy8+e+8ZDspWtFr95JyJ7ZgsKQq/KCGVEYhzN+Vyw0Xhkx+wHdqXxHe6KXTA7LR9sVQBZ2LVVyG4/VyDQU6mBPwe6NZ11LQo7M8fKU7ygKXoJv9xnvNf3sYgWYBI0zyzHNeKFaVp5aPxNimoHtq9fyScZHFYfCpzth9/4QssoK8lr0pIXtIMd1V5ikgCUCjyg3Tmpp0kQlAtjt0qSR1fmRtK+whW2BgaRceG2iCGCR1xcStnTGumaaOEXOksRqFj6aub13PCHZHgMuq0q/q3Ce70cv+J/kgbgH5C8lLd1b7bH7zFb12r/KMsJdKVS0F4zQ7/vpgOTiTUyIDjW/TVnONnRdGQgoY82Zsonkj/gGqrwWuTz+7RoAysk49g/uKcfdzuuX/yHaOfggd9lonpu+z+f7vQG3oIOawLTCrShgK5lE8yUF6CZui2DyTnZtNSWGGQKsvD+k06DYUnf9MJ1CYQqIIfDJ/ZzJhG7EUBdulwUVl4dj66C//H9OVutm2F6bWJdJhLHvtXK7e+CP841hDecMo2kyzKVKHjZ4wd6MsOwe/1aRXWLwn60caGLORrOHWz48UoS1/nb9wv8dfkV5jdiFpi+ch/ujppY5H18m5AKMMvjtDVkTU+Y34t/bHItqD+4TiaTfbTfYsSTQD/Z7BbjKqgXTssh3GUxbjMz0gakApg27uk317rNbwgwiNO0hm/3Zz2snXlX3+t3bYmN/XzcCPU5eZs46eWNqhF9vb6xIjt1DeaUwisREcTu9PuPaNBt6nPACtt6bcERDOwRm/Vv/2MFHHz2vDh6Ox+kKkGUyEOu4KP8TXNFfobhAuekmJ44vk26cRkrGRwWB+/ZK/aek6N95/uNyyQnaApkIVa/8oKvDQQt1fC50TXH9Kcg2xDp7CKh/Wtqr7XKCcm7Pt5IuJXSNri0xXXuYWQHLWfQxQyK3Y6V9aoZ/WrtlorB8Ww7rEtdjyXCi7w5yBpX6IkUb84zqcNrIkODmWhHj6wcFj+cQcVw098wtrBw5r4H8oSOzsVqq4vSM2bPYvoB68Xc/Eu5G/uBvx5SWExg8KeXw6cl1f/MfJ5nvnky6a8bfuo4GbA1hk37+55fa/jov4Ct5HV+gvmtNec36GS7spOjA7wTlKeQu4ISnY8bm4AwvXG0SDZQbMXo/SqQ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8f64403-7b3b-4767-0e82-08db76f7236a X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:22.8007 (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: Z+EDbV3y4YhZyahMEIWeyqXu6U/D+vZj60hwW4NZpiJExFeglzTLAfOp+I9F+MhT/grjSp8U70xqvC9uUrrG8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769852502944233359?= X-GMAIL-MSGID: =?utf-8?q?1769852502944233359?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:10 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: 113354 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8090539vqr; Tue, 27 Jun 2023 03:29:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49TW2weDPo2nrbcZYzx0x9doLfTr3JRK0Dcj1GUtP+skMRQF5HRlmPlRx6qWHn2xHV4uqy X-Received: by 2002:a17:906:4fd1:b0:97e:bfb5:9344 with SMTP id i17-20020a1709064fd100b0097ebfb59344mr31157553ejw.8.1687861760191; Tue, 27 Jun 2023 03:29:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861760; cv=pass; d=google.com; s=arc-20160816; b=ptWPOXeGgzOVtgEJJJTyHEH/60WbkLTSI6tulWuIVz/uOYuLpZz+DfWSuN9mT+wBzO oxEIr+B/UR7/5xU6pndAovE8p/AAqAlNrG4MYL2Zxr38xptvOFS92dLUTm/lE1RXM+QA EfT+t+1iOzkPk/G7uuPAf+o7MW7rV5pdO9rpTlqrrFL1uH4xQRosijdXABZ0xXCQ+BcK 1kEa8ToBnY29cETG3yGUkjPFKtReOOz5XhHG2sbgqskyhxaFit+o78vfpCjpBx3uXTYW qUGgWo2kOUN0WMg9Fd830BWNxhP1XnkH9TUhCYfdMQKf8LM9tcrfqBBtC6bWMq/JAWZo nG7g== 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=YC/dwNswXk1tnTpxEL4xWNydXspL/0KVjSUwu9q2bcg=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=OhpKa3gW0+OOyJO+ItOKMblbB9sCvE4DTCV/8iFkee5bxoWMo830FSQWsVayv5TXDf ekAaL2XbzUQlz7iEP6By2QWZEoFfSUH0G4idF6zdiZ5DTqG9CYnv4EcAvogyHOD7Xegh ZgIjrFmmn9WShRmbr17JpUrsqFKdFi/4RzGTKGwauBRM5rgHLqDn1GvPtV6FMnAZgaG8 Q3Ti1RyVNlKTyOk/QmSu0xlu5dfYR5pBE48HU4eVtdFRgSAMw6jh1qza7ETbIyswn7uf nDrjLworYvfakmJf5wJJQNHo0U1MxNzVzWqcdZ73K85c3Fprkz43D+EtK1Vn+9ZTq6GH Vtjg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=IPG9Us1f; 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 t26-20020a1709060c5a00b0098dfdc3f2e2si3619552ejf.745.2023.06.27.03.28.55; Tue, 27 Jun 2023 03:29:20 -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=IPG9Us1f; 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 S231363AbjF0KPX (ORCPT + 99 others); Tue, 27 Jun 2023 06:15:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231511AbjF0KOj (ORCPT ); Tue, 27 Jun 2023 06:14:39 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2095.outbound.protection.outlook.com [40.107.117.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA67B109; Tue, 27 Jun 2023 03:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c3GTeiKO+S7oDwGopejrCAYrWeGruW6MA7wlw2k58g/NsAFevzcbcq79/Ba7VyR1tcDAh/XcRee9POMiuTiOUGnBW8njqPv9DerZ++dxZowcYneNQlfPCXRQmbKfYXlXAqHSKAxun/qbCwFfSU/EdntHCLz5C+ueapXCR8EbqiSk/ELEwk/Af/tiIjOy7Nfguc46c7GNvX7C2DZFWxiGq+2MlAO+Cjq5HtiuQ8hy3qbcrqhAlJLX79kmjhQal+J8+Hsw4VVTuf+sjeFc5FwBGTYo9QjlbUVeFY41nV8RPs8moxm+sF693fDX45XmKJ8iV2LOrpaujLIYF/nN+23bGg== 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=YC/dwNswXk1tnTpxEL4xWNydXspL/0KVjSUwu9q2bcg=; b=iJhjWJLlOdaoyiKMKBsMzscznlaXjYf7DPwqwUDafoTvLXQPaeG2FQ9A1jcBSaego66zYjhXrOB0/VLIQl2Olnem2P1r/26PQNbzxcHBEq2m22TqcQDVYhVUwq3CcsQ/Eig/VbLE6EucVjXGEzkiLA54wZgxsxQ1PygMz963z+xxsMQbRyRyzQ0P2ko56mDfyD8mL7052PBqxWFH2Lct3zkbuedqzg0+CSvEY7dQMHrFJ07VXOm0mhCAKH2zbfg07yi6zY165+A8iJXFvmghyH2u/Ds67wSvhe6+n31at+zup6+LlgFGNZDC2nRoiHl+3aoP8C72DHQkTt1hSnZP+w== 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=YC/dwNswXk1tnTpxEL4xWNydXspL/0KVjSUwu9q2bcg=; b=IPG9Us1fYgVJXTv8heU4Npg7P7uMBIfGGPnDO4lNhaYdLH3hjzN6cra8YEmszBWCZBU8jfrZvjE5IGuMIwcFPMsofPbVUJH1LVes6lwH2TKFLD+bB8g+mnj6nChfDTCkDaKEFkd44NuFDPc+Ko110dzsLU5Axw2JeGMqg/nAen4iXVzq65He9RrmRKx8y4TvGHJIODNKnmkOZ9eWjIGGEMEU/IRHQ/yDdQAga+h8Pn57+00+qKEWNPlKcNEuu0EmXK8W4C/QZC1kAL6BnMtVtkvNmZnHbw+NsqKAm97zj4CqX94dkYtmPCCrOA7s7EW5HnqvHJWUSZ46wDLs8ZXZmg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:29 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:28 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 10/15] thermal/drivers/int340x: remove redundant msg Date: Tue, 27 Jun 2023 18:12:10 +0800 Message-Id: <20230627101215.58798-10-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: a15e1084-1904-4923-2e14-08db76f72702 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cuwf8W/0PW+OFEtdg7Ug/Rzej36bCt7q8qeqRZuDG433rbYeQ/o2abB1GLAmSpOlHIAtv5mKQisVuV0Qlosls6Z0wGj6riecwr96ZfFIqbsBLTQ0LKoeF9NDamDenODzj8PYVmTAHpEGcIx7PjEHlexFK/x7gC/jtj9py8hJ1GlTszBoPew90pdYJkxJoPMKEuH3MqTUaAfwkh6pLofM6kNrM0JMDEiYOw1R9zxl9qrTNMhWpvu4I0YCD2d92nlJ9v7FkFvBSCz3msl/g9uml7134BeEL2P5ml1YVDiiy8aVW3wcJLhPa5GhjC2PvXuLRCgIZhkp9PbThLrfjl6Oy9rk1XzxUmuBEhlUwvMZdNGjWqn5oCjI8n/lJkWuw2Q7dUKxtmhrSTM2KkwvyIE+P3qCDpCgzn2WNJ4Gt3GDjzBLlrPE3gHtTPoA5+YGaPuB7oj8i9t4FoWDvYuisXzzh+DMjuN1hv8ryszZkL+E41RUHm/Mi7iVfwuGPRsw51aRynTZgFR+uHwduKFUQWUxkgYzG5F6F6DZrS6q1ajkMwbrYWupavUyjQVSb4BDVkdm6vr+qutuQrgGKj+HKmYdpBGYp3saKLduAc+j2pLY2fJwBWh6f12H66H/vzlh9ETMz1wyUJgc8ElxyLJhYANzOA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6/wm0koGXj7n88h4eJXv9mGAUoD1BCObFZlCzHEBdDnmi40qT2sLbiAW26Czhwla9HvrGvSxs7bTB3qEOnMjhjRxZuRx5WfUfn3jyCNsj0JrO+D19WGVaIO9q2QtCjX2lwCDOQ4hB9CnQcpq4taVKli+MhaaABN3XKLRsldBNcUek6TC3r2eJBGM6yvFeNfItZHa5XdYkxuXWVMiV1FELzEmDiZm2g6WYN5SQpVK3waki4YipRbjOWMGpGqzod6Xvhc87jI64XsZyVdwJEvASZ55E5Tp1UrYxlOZTkALeopl31/lcVIh53RwfUopEoCj+JAXzR3KzVprKYUm2oisWeZG8sMJbdoReJPZsKAKFxO4LEAQJdiBSOza/8WaR5VS91JoDzlsRwUZXz01ktLfFPjX5Z8sf+HNlM88RgoODGgJeflUTc86uFkhf33T1TD+WdIZsDtgnUBaaqk5yS6cpAb6XT6brUQNPWs/WZ2urB8SyOOpE5nu6dU6wyvc+a0OiJ3k4cvGDiMXp+EbgFioLaNVPwkC7vKWu7klVkjvsrhRsaM52JV+zZW+FQSXKmbCxamm4G2AtLVMyKslJnYCf60Ck0jDdGypLqlEzSSNoJ2kVLwAob2NyWq5Lu4pAmgWG+Wac1hnQpZJB0r0Q1bMjMepI8vel6fxaHQu/FE4LPM5lDFJBOOl49Qd93bhXpdMScqJXOpX+yJhfz8CPfG2IIFg5S4r0og25AnKZAjEjIzJKwWZH7gzNTYa4FpkjQGeEfu8QiVilLXJcnWn8Hp1PEzXBj00g+ROaNl5MlDVS7j4iFcFIF0b2GiGyCg1lP8RQknJTxYwC6gmRHTfjrtpKElw2GiLnqaIlcSfl7/HnJ8w75EbK2UwGF+AKedGZC8itKVscFJl7G3bCKrRLuiJ8ocr5Bjfg3qqgK25Gz6RSMZR8gPpTkMkLQJzA5GenRikd6dnbIvZr4aIuMBUn9lTMoUrvdptf+TSsCiuLz9ga9Ci9wxXIt8r053OR6b55CnG+WNjQeEDO7ZFGHeh/M/opNPv/Q4W7JjmmHyCCCEACFvY8Mpx6Nr9KOUe48vDsIzW309dKqxFyXiPotUOt/Kftg6eoVO4xeXbb+cDymDyFoIaIv25MSckuBW3HAKqmvAkJhLqiSapazKEKUa5bc1KuoM1G+CmDEuluO82O4lQMVXt4Em/HTmFRrYxHb+/K7lHSGx9EhwLwuoJNpla8YDVagJlJ3rgc43sboVPBF1yV/RuharKpkI4ATzV+q8i3gfWCUApLwrYWG0BsMjg1xy8AVjohW0ERiNwt7vWeU18gVnCln9y4bL58AlqlBdBfj4mLShw14NoF49ahadVQ7+VyozB3PQZnRyKtl2cB08y1NATREjndwZ+XvT/xe9L8OxhQamsEDNKSQbXrodOiSCDi0L58zgH320Q+grkA2ytUfha8jYXeUbqKIo2j9AiH+CVJPfeHLWoOiMEUa0ICckJF4F7gns1wTO9raQDSXaeqJHVbhL45rxFosRhc0nIsxRp3K5D9SlzsR+/jBQDcFO/GSTbdlRvrdl7xm/g0Bx8pBPJHjSQN2xlJhlvoXP2cTHG X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: a15e1084-1904-4923-2e14-08db76f72702 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:28.8249 (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: YpKEUKIaqTuycczADsn7bp58NzfC+kAd6gONrlA0jAViO70Zx1m336m4PBYaPKiym8G3IPt8EQR9aYj6KK1R+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769851332968022911?= X-GMAIL-MSGID: =?utf-8?q?1769851332968022911?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:11 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: 113368 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8115489vqr; Tue, 27 Jun 2023 04:18:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Xno1ED0h/nZXmW7jE4/CDXLYptBszZSKPT5WA81fp8FVqSkuoy84P28f/AXMCMb+JC4zk X-Received: by 2002:a05:6a20:3ca9:b0:125:ac9b:bd6e with SMTP id b41-20020a056a203ca900b00125ac9bbd6emr15848165pzj.15.1687864698833; Tue, 27 Jun 2023 04:18:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687864698; cv=pass; d=google.com; s=arc-20160816; b=YDaAGoe2FO5HKs+eUlVBD8VE1gCDZa3sKgKvtIHKnPpcDWaOf5Y1w7bQ1E40hN+pDZ Aut7HbJ0rfiBsdNZn23213uSp8/YWo+/MkXgC8Vs+aHsGvj5Da1qMcFa/VO4j23cDKCX KPT287J2QUbuU2ghzMAYoOjKRZN6qiIryLDDP624+byOU/u4XaiLZqAPBoQ+6hlgphEk Z06bo+kpUeFoturgWmZzC+BjrUtEyq4rt4UMzF4jkdgNq98HxQe0Ed5I6oFvogAf69bQ njwm/W2wiFQPMU0DuMN/3IqK6RDaJRVyCnjTdC4IhFZXtneZcvh4FBynd2GjjjwPWEpp P6cQ== 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=gASfYiTU57ZLaNaZNulzFw3MNfbmcSk/7+JPT43/H2Q=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=XL4dAEIpkla8uMaokKv0fsR3+rcK2hDe/Wf/9ObrX1evOL+0jhOgXQ4vhDoH0yEW+k ohzkhshd/qY8K/lkhweTWi+Uf+0ekpnq7TnOvxiKhzTe7PG1td8bRYnF8y/lkNpWZLgC S13iCuteOW8MtcstRecHKdIPrsewcdizSAOqCQCv1nxZdkZHjFFJORprKZFl6bf8lGaJ abapsYz+vzFq2JOsGpMMwgLVuzDVWbcanI2VLB33WDgIMoWaVHZhZ9SV/genb6uZ8/H4 McPSDnPm+V/cnrbC5FnEQGiSGeV8W3EIMVCKi3RN/zVglBLHoDvBNcBc8eERnyP7aLsK nqGA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=XgoV7igk; 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 w26-20020a63475a000000b0055117ae3878si6945422pgk.324.2023.06.27.04.18.05; Tue, 27 Jun 2023 04:18:18 -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=XgoV7igk; 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 S229656AbjF0KQI (ORCPT + 99 others); Tue, 27 Jun 2023 06:16:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232183AbjF0KPC (ORCPT ); Tue, 27 Jun 2023 06:15:02 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16CF1359C; Tue, 27 Jun 2023 03:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I+EwJzzITsl2lySZeLhKhCRepYGD2mSST/XlGSwt8fg9hP9/WxhdAybS1rbFafdE0gPMGL0xFR6FSE/FyEXwad+rqYblpNRj2JdQPUit0BNe2KrSnte03F5pF51dwbI+VMC29IKqiGFzubSDsRe9VoRzHuBUy7hcsXDzpz+t9FKDFVTfgkmt4uflYC6SiE6EObMILnPcClBQw6eI2BQdHLW6SXn5sAJw+jzjWx2FTVRenOAvw4E0tUEn2zfTrbCktOod+WWaJO5siKa7ZKCDBNBkyNYI1+PBMlmQojGmBP0wMiAZA7XQpeP8wlTGNtci+FqNaXzt4TUHknF8ZbH2zA== 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=gASfYiTU57ZLaNaZNulzFw3MNfbmcSk/7+JPT43/H2Q=; b=XInHywmnDTb6J9YOwW7MV7/0qEgGrB31++ssbxgQXjt8g6aiqBH3V4/+rWWzAWsLZSGxWl+Qs5rhySSIJ4Zh4oErkaPm1tbVe43iXL+LceJiiRvLqpc0nRV1xQRb6/8s2ukHIDZn4vnvdu394zig4Sy9wUPV4oG3ElwBmOPXXsHl9jSwf804kkZvP/BIqltz5ZH8OeBLwqBEjnMobvUPBAR+kVKdptGyDLOCQSdjdTIz0WI3zz/RQzjH7fPWS5UKH2w5hS3aoqP4+fsUEHqeyqAWGcK8TQU/5g4TpBegc36/YI8dFeD+7zvlmqn7xI5FUmx4rE2w4x6KN2BL48xOYQ== 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=gASfYiTU57ZLaNaZNulzFw3MNfbmcSk/7+JPT43/H2Q=; b=XgoV7igkQ4FVg+z6TRj4Je9uv6bpSku7JrZlUmeKxJd40FXPoiavfocBA8i3hp5u1zB9LdYLq6x8bObyemC2+u9dG7pzsQmZHOVFHfMAFb/DW92avHvxRrSdxYgmyYu7vKxGSrjKVlVNBsLffAGh6Xx/yR1E6IKhoVMdQYgEhkN/PjcMnuQYt18V5Mhh2Y89sdygXhybKmFkoAnFfwIdp5lqGmNRMvmLrnCwvsJMC+8EsHRCr2zUdDLTnOlQzTg7X91z/0vkep4LCkesVBoUNqMpajBdxw4vI6wkx8GxH6v7ROkIOmxl4DjMjgD1x42AYtTMJx4trv+j8SQWk9x5gA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:35 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:35 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 11/15] thermal/drivers/intel: remove redundant msg Date: Tue, 27 Jun 2023 18:12:11 +0800 Message-Id: <20230627101215.58798-11-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ecd2735-aff9-4e9e-9228-08db76f72b05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NeAvELycZguyVN8lyLWeJ0F/pfbd5g+xFgYPa5QcY75f4POsxhpG0pd5NetvQpmedyM0JjXURKql44QLlcHRJ9TJyS6LqZKQgsnKlXrDXcMN+TNug9uGO5jdEnPd+l6mgaveEJSz5PsFkQSYJ3QFQpQ3i/877NR3lpneLPMd5gOp/8Bg5ZSUHMLCI0Sn5AJoJOXVmBXZEBQ7hFqNAg7MHCv84BjVtnvt198PxDbY/ASDpvW8cOtAVqNoC+Z5jArRueC8HPoHdxdsitgSNHpaOyymuX+8PbiKVUCl4grOVeh38e7HUXHKSbxDiN8Pn1ZonKlSjDaPxRzmdplPAboMBT9IPYyRn/EmeLOGBUPhnUEsvBHwi2J7zbMEr+FhzHNGtlu2dBq0Vyt8fUUc7sGeB49KSAJ2td+EnIPaEnRJVMMmSmYQsFH22B4Wr7fOgp0i2oru7WKmCbupCe/1Irg+YxMKIZVSDZwmYbBOuzXXq56Obmg3h4V/irWHuqbazSvnsmcdABNlnQzAFwdApJEN62vsd9eG+5W5s+eCcPQsO5IQhh4icv6Fu4vROjaMkGFIU0P1ktB0pkYWLQvzUsfwhhJEfC6VvYrGP/IJZfohG9Wn2VxsM15QpYiI4qZ8kRDguK3TyUW2xhEcUU+QhKJzLQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ckJ4SQVSUQ3ExDJYYwq1VsuHkB1ysUxJxXCCYxVpRCxvPXUbdGURkoPT0fG5OpdZ6Vq7rhoPgifnFnmxOuissZTFxDBa4yCVERoHibnzVcWn9pYnibFpBMNTDMuPj+otnJ7XARfY1lzN6ICDwiqQ1SF1KxrJxA6xccYkgVA6+98isVjSZAQVCU/msykM1iQ2R9sElUv0CDB694OyZnJ9C0f78Xk7zPupD6Jv5sDDuY92NNd9c9MlgjmMO/JAOXp6xo5aufrKfgt7PvDbu5LM51VeFdjRC/zLLVKPIknX9vDzL6vcg3Mdcp5XGefD/kwBxTEzRzuuMHDLZXkaq73bhA0tkVL5pig2tG4laAPhTEvsGrCDrDCKQFu+VA5ybY8GUvfp1f37dOtjSQki44euH4nSdiK8X1OaTUK2WBu8rP3AAh9YpVy7fhrudKHdW2XEMrhCoJKXvhVlhYo8nFm2kFTgI+IiGQSGqM8rIDNuJDCrlf5uvk/BCEppbftOq+NglKSQoG1DOmmrW6AY8pAInlVg1PApM4xg7l3c2JOJf/jo+zkXeUPGSHXeg9xL8NQBeAL6c3h5gvc5Qmeq7pFovudzJP2BRvLYUB8ZS0F0aZQ4gALrZ0J0s52PDr3cgPYEP8x0cFwWRX+zDghOrycpyEWfy5O/0MRWsL4ELMgNWTibB2dMu7gHvB65+UkZFjSBg85Qa4D8K211x2UOokP/0wokXNXD1hvz5UdMslCUvLHwhN5MBoRpHpovhe1xv2jlWlTUnaEKt2arb9hQnxlk54QQsLr2PelbzsFgghQty9NO/gNNe93+0np5JceQqa8Qy5HoLHaIZwZTwemdHDXku7XOzcy5ECV1cG5Ld2pw3PDov8upTLGQq6Iky73jFHPJ/N2yAwWmApZzz7Ydc2ouJ2nRnucDg01uFhnFHTbLUhQy6XV8xI77bVtlJH4mHLhQBblNRHSimehcD5hYsOPfL09pEjKOcCyyXQnaUbSoznV9mM/4Ysu0sAZpjU3rWuHhVEeq+klMig1JDWNhMv24KYemcvl06G79d3KB0QQJLYqqybhH6eAH1LFnwYeDmZ37lG0RR1VIuRbHLtg9tIhTZ2No9BX3rPQ12+N4UydA5d6MzgAkNRzIvhWgb1M3NXbxFK6QEG9YSIYA50C+e4nkd9Z68cyi3dnB0rt0fhlblXcWTgBnL3tg0es41pVzNnY3iQhSFJBY/6Pfw5TWIF7RcTr95maMB4UiyagREW/k05bXW5oKK/uQICYU7tdJWPJMPdYkisMoSnT/dFFRsKjNkkcoOo6jpYKjYe0ES4kbEvZhrDvkGo3+UiUjXX2lH5yS3uITnljA5tfvPRpYUuv9ep4JkxtesTSwBjpOModjw0dzX6XRBYG4PKjf+iMxZh/8RYVOuqbPGbDLC89L25aVQClzCtHJTKJwfFnzYYv+If66bcp5jYsqvD4Dml5JbP3zCsDX2XGzlI3RnMKlXlEHoCeMKXkt1q0msPbrcPJ79W5UAG2vHMcr3sFRRDDqX7AUVJC9r3ZdGepUwwOb+PtALl2F+oyPP4pSQx8NlZHN+M4RPuNFcRsupxfrf5Gub4u/ X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ecd2735-aff9-4e9e-9228-08db76f72b05 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:35.5479 (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: zd1DGy+kaXFLygvfycu5Q2tN2kRWnFYSg+xxw1/HZ+K1JJJKVXmbDzx56zLpehmPzTKWZbnHqyV/JCpIJRIMeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769854414029390171?= X-GMAIL-MSGID: =?utf-8?q?1769854414029390171?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:12 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: 113358 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8098955vqr; Tue, 27 Jun 2023 03:47:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4P2GCGGno9q1kyGoUBJMUBYBLvNN+KzLvhvuwN/s8wcEEdhTVRxrt2QMCpQGD4nHoKV0cy X-Received: by 2002:a17:907:6d23:b0:988:6526:beaa with SMTP id sa35-20020a1709076d2300b009886526beaamr25585425ejc.40.1687862825779; Tue, 27 Jun 2023 03:47:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687862825; cv=pass; d=google.com; s=arc-20160816; b=0d7CS2O4lNYf62vVoE1SxZteXJ2ZKbpENLNtrmioNfBy/6n2gVXPooy5KP20bea2lF /MOHODdqkaYAtuvM0AgEJBc4q2M6iVj63i/FlO+cZJ2Fr01WELgL3sO4rQZt+8IcmUh/ 6kx/kAyYnIwBr4e0PPQ2ET4rRCVKzTxbRaxR82G/elLvphXCCmJGxWa0F5RlOVV5MEB7 DPgMOo9Rdl3waB0D2Gyic95AVhdkBzbCKAxnR/vGNp6aomah+Zq98fOEXaovO5b+AXGu lb8qNDBrpSk/jqYahcPbxHgcY4ZneJupFXE6+CaXRc7K3GzVAqD13bnWQ5pN6kBK/HuG RzFw== 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=EicJ6c/zmRq4kaTk5EYESeIEW3wL25/O6LgVLRrMKps=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=vDmok+6Azxmx9KZRESaY/2SmanjHrYHivg6LeNtSbcHYh/M4R000DTC8yPJCKWhLfe gQn2ITpOuMAUvbh5e21iip3pYg4mzusvvbx9hKxAULehyAXN3QzgcMgOMH4T6TPLaqh8 3zLOG2/kYpzSGX4ofZQ0IjK0aSXg9GH00YN25k9KR4uXP13gNlpx94xhmCMThATd5NK4 I+mEe4GE5YqsdOmFo5IgovALDU3jg4cuWzP3j5RY70uXBvKdVtl9lScP2e6XRyDhuzUg iyzlf0iPzIfhlrwW0G7j43e2y9nUsvTqL4iE5NcEFMcsepY+VsA+9LhJZWdBH/6/ejf/ eh6w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=OIYXzteb; 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 ks1-20020a170906f84100b0098638efc275si4107387ejb.688.2023.06.27.03.46.41; Tue, 27 Jun 2023 03:47:05 -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=OIYXzteb; 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 S231799AbjF0KRF (ORCPT + 99 others); Tue, 27 Jun 2023 06:17:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231935AbjF0KQH (ORCPT ); Tue, 27 Jun 2023 06:16:07 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05C292965; Tue, 27 Jun 2023 03:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iN3QBSGVgwI98dz/MAgIAdHSns2oRrft7O0Mwmyaq07/JNiOZlmIKWqHgd+oEoUWZFUm9mwsrkha/1suRGmIZDbI9Kq5eO+pyUCgWQkXMRSbjA4zbFxVRGGtPupn9NsJdctm3ud6ujDI2k1Vphjb4nu5ZHwpZnrEKJcEu+RkY5FGDR+Qf6kV/jSODQ1uVNjbDctrwfLd+UCMZnw8JREZSBRJdmoMU54M9jvmznTBj6tUoZ/7hD2LicUIE+sF8yaGnUyynDnsV8k42/vEGjgBOMeihWobjsUYbfHw9nnlb0g9h9BWNEwMq45yU9q+g6VbJD/0neZ6wsM1X9wi0s9LSA== 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=EicJ6c/zmRq4kaTk5EYESeIEW3wL25/O6LgVLRrMKps=; b=YiTqKYBv/vJLx5QjB3yYoGRr4WaW022plGPlZJN3sbtIYm/deghpwkWSeAyFcKVX9uYPtWQUJxQrkTdoFZ3lvo3Ysiq58YgYXrV3S42TOsJjhASppryAXamMN285SUjGZhIOeWMiNGh8mx1iyXkWOnytsuFXBJYhJfe929dOMANVrMwMxeid3yhWq9ABlVIIRbrYhnUTDBTL8EtJdr0x0y6DdHX9EClraHm0e2crPQ+fIQTkmG4BNi3NkOiV7tYx0MXUN1vn8xW0B5fMx9RxKbsz1OGMPy3Z77JvFc2eEYNpEZcVq91m5MJnn8CxE1jxtKCpQPgBOpiQzCPtnjG/EA== 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=EicJ6c/zmRq4kaTk5EYESeIEW3wL25/O6LgVLRrMKps=; b=OIYXztebsqXZOXTVIzc4bRiMFenxn3zvxHSwIcuE4IlY4AWDY4d8psip906/P7/yryMJMadJTUznomKCVoS84uPZ/iulB1ATXLalNVbLcbZjPZ1gfEyKAJ6D4gqvcwxaALZ52uxAlg3KuwOG/oVQKpmFPUlW0NZA1OLvTJatSLvbtrUXuQ/6RWXJ/WhCP2l4D9zOic6RXzWyehMP0a8WIcn4Tgf7fgoHLeBTmLtAm2MwMAEIoDzL5gfsBry3Ez/V510/K21ecxC0X6B3mC7ySPUvj2cCCpOtjQcmrnk4KjFChrUhSzZa92CzKXwkGl6XrSnvP80ZQv1DLYv11qIVRw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:41 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:41 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 12/15] thermal/drivers/stm: remove redundant msg Date: Tue, 27 Jun 2023 18:12:12 +0800 Message-Id: <20230627101215.58798-12-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: c8dd42b2-ee02-42c2-8ae4-08db76f72e96 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e+qmPu/uRGHCsuG3cpRd7dKM4Mb2Ty7CrHI+CQSxYqP3tB+c4jTYB3E3y/9FxuCBWlebnt3Shmn0dIV5UikAFnEVUcpc9P8laOMYaZ0/+53UTX88H5YTOGugG6Z1EOT2BWuo9KOFf5g7/eGOJ9Tl2KODSS9wJa6C8FoiXRkajX6nvGE5EADCxnIdmzGEazpYJOTWMSell9MtvUR666RsbAAT22K9nxOCWNby8RUlOQyrZIzLuKo7zXk2kJtbPc+Gtuuoy6eMGU9UK6oXf/9nbvA1vilyvfJG0dINUVgl3r7SH0dizJKYaTuo/ZSJWdnn/Qef8tmQ1k6KDizaySENJi5pQmUwrqVf8gGlH0HNe8NYVOCBn6cxcP08Mt2cy/2vTDS0tVKKL/rcwxrEF8qUvedHjlyh/0P3CLvIRj40AFsOR2DaHxlUfaXVaRumtciJT+QFYE9t79OkR8jju1ar2VbH3TiSH3+LRROJB70B8rlDGall9UBuzCagTBOysLFTY8qXR5CI3gRczsraD5qhx8YdOso5VexeTMzRFbBXesCr6duH/qdkcl+VyrSQl8XT/aI8vYGCIOUwGny0uvNtx2zY2iprVRtO1ylriNM/BH+fc+/CJkEE/ld3kEWPYV25OQfRzpOsC7/RtEBITICcHQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WzQJVCZhNHe/iD4TC4F0DP5xzzQz63Vw7PMvbbl0/rOs79hSkSERc8hoWtoXw+4mpNqyLzl+l//BiFTA/6Yxy1SXuo3V0oUE/E+pRpS86ALVWSCTfKDIWk7Kss+goNYg7Cy+XDS62jF6CTwaPFi/DKPVC4eHiB0GUnq4SDYwI5Wq2xn/r4jJo/P65UkFduO6o7tUf0j1bAakgOzfkzNP6uwuPNkZcFwgjQvBrtzc+9bOiRwSitXC38n+o72NEy12vWUUzI2gvgSaq2QFZNN75+exHlXOhiJAwjipum+LQ499h5S++5V6GXeddlqVWXbnZfASGlnPym/O/R3q6ilIq2k05OhZACy95rINu6WfFW2wSTkttSmPehvfWvYhuips8faZrXz5Y4XICKIvEHwTQncu+LK0I/XiJZykZkB7x/AWQoxdxXPyNK+VJJnKWM0t0e2CuxQEtiXBQNXPHFYthrOgLy//oa7ew/8J2RdCvVy0+9WwqvWYNoQbg7qyeb8IF06YVBu8/LB6ofRr5IWsyuWhhbqp6EJ38b5PXxcqLMoYIUkESWeexu1QuuQvttI1OsgbzCKCiK1S6hrmM6ug4+qOWkAaRIUfQjImz9NELUDYNFYwvYgSl83Sv1aoJclAqshrORVp1xQgA3zWoqKUEHdUI2ESC0lN9bt7zACdwi4ZXzEUzdCSQjHpZ737m1ynT+AcPm11pMHb2YtZmOVqwtaLG0mMqxGypWvkwfWtE2UXuUrBjKCW/rpMw1F9K3xs14nS8PbBbcE2gfu3RXcwHB4I8cmIiVazSk5MRUKxX3oaGPBTGXo0aurfQfq6uODDpNMqJxXJiP4oy45lc7UAflKpyY0H4ZCOAcEI2toeRk8RTQ5gPkHnZKn6SJN6qfuJZcuBr3ijr86/PsifPbVQSG1lKBZ5t9T75LglFpGEDAeIcEyPQv4cnGLBVX3QMZZXEm+2EipeZRsDAsk0gGB0IVrZL14spwk2mnxzuoO7VvLEiW9x3jOaEXkFzQI6vF97ZvrZA9DFOd+SWXjbGFlKRJOv5XpOYQe+BVnOYwXl8YeP4yDBldSIX14I1Gn+FEmfBiByHLtjAjrrtkmhmVkuUz/GBTgsvW1hG3gQBUxfrYCO19B1FltWHiB16f/+ueVS9lvwuQsMvyfoMgvldCZmK4y5P3AGkF+V7565BKk2DOuabQ5jLwyd6Nq/YRj7C6HQzfcN88wOwC5ISKDH27iYqQ9zNSQFUJG23u/1/6rpo5YjhZte3nHhHhSyV9i64lU2v/gWWN+J/tUT+0nvtR5JQl0mKYqnL3WpUcF3KKujfT32AP0mUmkbSVsam7g0pA/8jo+lw0PVOcd2wjIvGBcjIrFtP9tA5ejqfbYtKYTNPwvHkYv2v+Cvx+nXbRJHSnDHRm9S21x64CeN1Stkf18kZgKlRJdDlZMivUwH2o92WJ735ItiNZfnQyC1zNPdpLT0gtD5AFj3m56Xa4n7ENGQ1ktyUCBTqjuMf4k7uvsis8rewTr+x3Us3WGjDsJrOORzrI/cqh9JLzkEn0WwNRhhYI7oTLJGgBb72qNmdxRIYPmC/R2SmdD+b3jdFRS/QgHO X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8dd42b2-ee02-42c2-8ae4-08db76f72e96 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:41.5174 (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: npDvD4ya2XVH3JC6V59bxzf2rIzVZcDBd+RfHVMlW6QWUjujEhdEfMR4S63P7y03quG0VdZp+uVexbwVdLwqxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769852450214630479?= X-GMAIL-MSGID: =?utf-8?q?1769852450214630479?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:13 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: 113353 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8088031vqr; Tue, 27 Jun 2023 03:23:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MbAj+QvOWg/1Zn1sxzOaWu2+eYzes3ASG8TW376kE56iphculTjYaJQ8S22KfUoxti17u X-Received: by 2002:a05:6358:54:b0:131:e8f9:c6e3 with SMTP id 20-20020a056358005400b00131e8f9c6e3mr12571739rwx.5.1687861413674; Tue, 27 Jun 2023 03:23:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687861413; cv=pass; d=google.com; s=arc-20160816; b=dAiR4CKs5CYfUzkVWPb1qHTKGqTnjq5ZpgD57ULThWh79uPWfUJ7+M43iG2wt7iqAQ osfTgvWzY7P3gNQyHAWO83NP691XJPEaIjKQpJR4i0GnbcRbe243xrbw4BtGgTIaWrro 3+MCoEICbGgjV2YYiuGoQBWfMhbCXDU3iJHgzLGKXihfwPNJHw1SRhp+1xn2oIize8gq GkcAj28belfaNB0JgM2Bn/tJnUKw+6DUdsveCyEbHlGNo2OeIRFHO5UK52V1/jeKXFuX amu0KU3gqwtWofK1LiekEIb0bE6OVz5xoyG9yg1LV0Av0SmUPRfSe5zOHiXsCMSC+Vky xk6Q== 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=uzTSIJYMmoLn5EIxLfmFq6obAH5S0cEnt6fbeGBq/3I=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=A9N95SKB+5QVLW2x46Oa1ik/NAFMa87UjIi6P8f1+MH1BKyZEou7z/6lLUhp0g9ce3 fczp8ME19bmETNn4W27m2bv6wSbQu1OcwPYrdYl2r5SmKM9SaGExjzctw8KUMhQHqF7c wUtj0S0AfZZZgpA4KxAz1RtSKlfNJRwmNXxVxQlBxG/1H2j4KyISST/fdnUguj3deaej IVEzLtwK9JKZ/vJ3l27a00dDIzcSuuz6Uj5YEdDM4HDQ9lcyURWtgoeazTyMTbeZdLGE 3QRgpX8FE4RKSXYcxy6u1eu7GZHHW1L69UPIzuoAxImuRKosdGAPISHSVYoEdWsgfP82 Q1Jw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b="C/LCjQeb"; 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 z9-20020a656649000000b00553365f5bf0si6876581pgv.321.2023.06.27.03.23.20; Tue, 27 Jun 2023 03:23: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="C/LCjQeb"; 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 S231182AbjF0KQo (ORCPT + 99 others); Tue, 27 Jun 2023 06:16:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbjF0KPn (ORCPT ); Tue, 27 Jun 2023 06:15:43 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB1492726; Tue, 27 Jun 2023 03:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zp63x4tbMFhoLRrSwLIM4vQkaZRfESWmY1FL25jSccfreU7iCdBls0OONuP6itglGsWjZ8/ulBWOU2kfjzqkdOnTx04UKJ0bgiX7mdMOaoEeb+JJ1rQATAg2cTAY4ss9wBMUlaSyYoGqWhdjSf27WXUSljzPtBCfj2YKmpkjgx6/7O0vP2UxTr7jSQvQxO0gerNUWDl+ttVrd7FEtBqtmJDwLLlBIgCxqjUMYnDug+xxYhUrshoxh7yRAaEKpN1TmywxJFxfcV6kw/jXZGOamnowGGFH43/b5JMGyAUDfLKJ4/JJV4x5omeFvohZgJDkzszeqkaW5j8EMHX9gbEeVA== 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=uzTSIJYMmoLn5EIxLfmFq6obAH5S0cEnt6fbeGBq/3I=; b=B09ry7KoqvsU9xtenivdARiQ3nnei4wBi+iUW3ioc52f/FfERdFbYWLA8vcdILEvQ4mNVcjOyG++55EXIluLeV19kZcx3YrJNyhf1qFRSZZI1zEiTNrRxphAwcknwSU/zW4gSGzgTA0LH7/pnxTWmdfhNY0A6EpGyoDEufTHCRT5I5lAoQGCHHNFiUPU1z0j66l2PLX2XF5lMacclP9rfGP1Z5PvnsD3NgJQ88+rvaIRCHc/ZIVI1nWVufMDXym2HrBKrAR0rC9xWZjHWrJl/sfdULIwF4puHDzeHDdgGnhy+waBMW2/ALBYpUEUZMH6s9R5thUvFR0cInZY+6fRTA== 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=uzTSIJYMmoLn5EIxLfmFq6obAH5S0cEnt6fbeGBq/3I=; b=C/LCjQebgT1+A6XXsceWjXsh2zCZ9RKprFbAVqNWo1U+Hy4PfS5EAORNGMEJKj9edSmcJkgJSYMQ/5uMNt65LFIJ9JV5YeA1fdm3UuN3abJabk0wsh17r6/dLx4wTetJvWCHrDyCRW2ukdYVEMzJjT/BvYmbw1djGvOF8cM3cdoxtR3JRpUzyvDmRWL7ncY53odAoq3C12WxyYhQW/MQf/8l+s+mmy3DP7qoIG61LRCLtR7Nt3mnoPnOr7F3uS873x+c6+1Xa2/HYZAqTIHSk9gg/rxPLO3PXOzhmF+5MIIfa5H8Ln2Jjh/SlCwaoTrw9evoy5B9mvBj4MhuvDAbbA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:47 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:47 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 13/15] thermal/drivers/rockchip: remove redundant msg Date: Tue, 27 Jun 2023 18:12:13 +0800 Message-Id: <20230627101215.58798-13-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 5402f56f-512e-4cc1-d106-08db76f73235 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y2t0mD++ElLxRlT1696kalN1X/jn+r79rpLhP9ZV7+V/Q7h2bRxahuzGiwnmS/5ht+FtQOIAYYuIpm0xmbnf8bt9yvyA0wioGI5RjAS2IMgtFQp4JUyK/trN/FXRrEnscHF1KNZzZihQ0pgQ1Nzi9Hzbmc1vFZa4loY0ET3tQKS1SxTpu/vacsgf5laB+rYNwTK4eE3k77Ce3vAO1zj6pgi9mc0NnF55J6fNvoMK2TheIDUNJ4t06L5xtIRx0q4wXIlTYnN9Zf/hKjFTQlNYa04wZCk49JU4n+b9GDFwtBxYN4/CN/cdC5zUhpL5dfFFD1mi3rxgwIoFlGALwtdlPrrzAtZZ+ifAqH29wkrNPcp7Ezl/4QWea1edEiI/m6tFbX1piAgiCj9VKVTiEw5Q6Gjlzk99wwv7HxSwbeQaYOTy66ihFatedCf8YCtEh/UKXoZUZkw9LwUjUS8bZ0z8yVa2yhJQ3nom/Ux9xCvx7ZdcCcP/eHPM+cwHn7j1B21ChiNDhSRPRShwE60OxVNtkqPnRS6YSpkWQMUeYE93KgwMsYRWB+F00MNcdjwy2DyUoj2M+IkXx8anf8SHMFV234zhjrVjiOig1vWS5j+UbIbEpQo1qkSzO0Wuaw+8y7w7RjyNj87PIVjXCnaFZUkq3g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NqgjzRpS15yjL39Qq69JLzfZ/znjmyiUZ8QX/WcpvUllDLHMfLwXQNOJd8LVsz9U8BXvF1Ht3VYY/vVGGTw4kqyrQExbjEC0cXVT7duYKzmK2zsfp+prEaOmL9gFEjg3cOql6psPkSC1VsJfNcGkIxYrqAAouMT7o6hx2Qdk7jmdHZW9pxz7Cxahh9WA47i8rJUJQrVCPXyubkR/sma0SL4q5XUV/4yqQLKnSdTl0iYgFqLZtWhXZJkV96Gabz5VlSSDTrgLQgdQgSHzNeglVyoslM6LU8fXRkFSJ+Ql4a88aK1TS6WdDTEWwh63lPRVLg7X2foDT1kHiaWyMacghi9pwhfntTcknG0DOAD2aUv7OtF7Nhh52gOhPPKp7TkD/+QySL0kvfJw+UgAUiiYTu4SBCosTsfIY2Y8hZv4Uxe0slDUxXHUDtIZ/rJ5iS6uy9lKpjw7oFjMAwefiznmx5PErgAIg6a7B+8eWVtj5eZ1EAx1o9/KPfbncgSS/5tPBEcOkWlVDtbLX+SPr89n9RQ7DOXicRyptDBa2Utawu/5LAkMpbUiPj+BdB/tAuS9gUuoZ2SjpQ8SAaWWZ8lO2dDOcnb6vzqWgkap0lQDidSbKACC+9JxQMai+/0FBCWOwETtnP2xl9p8Djbc1++U5hxkEs1ed3QLcXe/c3toHB4FA9wHCUbhx+w71CWoTSSg/AbbyVFF0XSKUwrltl8bomSARJ2zOiCMFYcJ064kRmLt3PrmJdMEiMLzcCZjmce7K9d+rEgkmyFoPahdRAGumEeXFaya0VCx6ybCfgS1YvnC2mTWTzDnaB9IeVIHA77qVh76Zhh1MizWabQ7TMDYnFp33boEwvJVKc0VxzIqGq7mD4b28dvY/Pwx6cs7s5dQjSE+KmqfxwNPjwMUDQsZ6YJ8t79KqGPT2T6kN0tkJvE/UrR17QHZxg9ELsJVhRhn/MdsmLRyWp+FD0NEKjbIv2hQ6fpaWa2uGCYXBhfpMhLpOCb1UXpGRP7NJprcvGz6V1uFaAyAmfflCM8noFCHpGfbTljIbmMy/WsDJeOWAY+tt5kM/htf/EoTmcIha3xpUk5jlrtqP3Qnr5Nd4b0eZTfQhzwzlV4KPmaungN4L5FbRfL4qLT10FW06iP5unWUAtYG6NB8sUeK3W5vSs6TNzzdv9RHY9l1AXeHgCP2V3/wSaLBRGpYWrXkjCJA31aaHVLuv72sj2PDRT2d7IDjl0CgzFWKYisC6gl1+UwuqHixeF8V4PXf5A/OAlH1D3a/JLY630CcQ44BzYxf/q0akJf6/82yyYg3PLqGbyVprotMjRzUj45DSs5bPe6q3YqsPo5IQwZ1mVZbneVVK8dUs8flIWTFJ540pT5qev2CmCaA2ardxGy2YMw7wLITZknPcjs6kj4Y6UNUwBFUmtpFbpFg3bpY4zhlysKAPG2A3ZMPVY+em7atbBUJMqkPnmCieJYz1jXlbGf+QHb9de1TEcrILLilyXYp/4p3xHdiGaeFk1FwpsPwKlGawTPEcvi1C8q2u9PHGLSwpJ64jtonw1NBM8tFnsFvTD0XmkuWn7fgYZEBBxZbQqH9d9SdJ2Nc X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5402f56f-512e-4cc1-d106-08db76f73235 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:47.6100 (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: 7xLunnQH6wpc4JCmREya/GgAekfx+GYHBiggC9ObTALYYx+VktQIp2lztf7BrT2LM9+wS6Zk5tY1ENWFzsDTHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769850969631090287?= X-GMAIL-MSGID: =?utf-8?q?1769850969631090287?= The upper devm_request_threaded_irq() function prints directly error message. 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 10:12:14 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: 113361 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8101250vqr; Tue, 27 Jun 2023 03:52:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5F41xrr03qZQgJVB/emkN5GAbiAfMH7v1hmmsqs6OAY3bF/wWDGzRYXqtZryTfSgQdcEId X-Received: by 2002:a17:902:ed11:b0:1b7:f24c:3b9a with SMTP id b17-20020a170902ed1100b001b7f24c3b9amr6681317pld.47.1687863168549; Tue, 27 Jun 2023 03:52:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687863168; cv=pass; d=google.com; s=arc-20160816; b=s0avUKQtMx4NXyBQBb4zGcGnBx/goJe/Kc77TfoylPpMqHjWyFpNN88uQgumYP0wH6 v3q4S+CNo7y68R3tvhydoNCyivHbqMDG+yi8hxaP42HTXZ+0DO8c3VS9MhVoIXoZR8Qg 0Zk3Madlvt/F0g5jxnqcoBJQh+QmNlOVqSQeOx0JwNtrbr618hGzVwYpLs7MxVpgSFYJ x0iZ/WyvX22hhC4fx+0UQWgZBofQhV5HoRNZLSIHpHR77LB0Dc+mXo/EdD0euSmhkUCU UdBfR9bjzjqwDfPXc/VWZLRaCmJRaLsXUHXgvsz0Oix1GifRLIq59LTlor5Bt3Hfdq+P 7kWw== 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=7rIIic1NGOLrSpSOYr/tgCQmUEckFNCd+urcvRljaX4=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=iEfAGRWWLZzT1fl0tv3T15rKQZ07+T78DyuQQa6iS8SPCldUW+0i15r1Ue8+BP0sKU RGim3z5QDHlgSmy1ABSBjCQIiR9Pajhgk15sRsz7eOhATkbnYuN3sPQHNY8/yjFJE69P 9TDNBn917XDP+XTimpnV58SMpZ0OQAGDzKV73GfrPsylOH61cBTBcfYZFUQFhQa1Twfs Y9DhA6Tz9DEZsAoZBfqnx3F3jUT71EXllYae5E9qfEHar4YsDWPhupn3lPVaGq2oATKu VFr/hVbTToSvmqUoZXZI1fAcRXna3rDK+5euQIMs1QkYjo3KjQ/6kF7p7TTW++lcQDhK H0Ng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=CdMzsZzs; 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 e10-20020a17090301ca00b001ae4d1c1288si7459338plh.279.2023.06.27.03.52.35; Tue, 27 Jun 2023 03:52: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=CdMzsZzs; 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 S231522AbjF0KQ5 (ORCPT + 99 others); Tue, 27 Jun 2023 06:16:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231795AbjF0KQC (ORCPT ); Tue, 27 Jun 2023 06:16:02 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04272953; Tue, 27 Jun 2023 03:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X8TK7FMioK79ECfuyLvudmUqaTTTxYzo4/vfQth+2PiLvD9Mdexk3rOp9S4LmnfsDgPh2QWBVSrlffeQu1Qtnx8/LknnS+xJCBfSJOelhHfOa0mvtKTaRBtzGnM123PHnEdDM3VqWhzzORJLUdiXee099CcpySCamRcH6DPLS/7ezSql+KTaJ6lCxQOMH6WrhBV6eMSINmsJ+LbXPSozCI/VmqTkucDWNYhUilUu2WM7lVNOH5PG338wtWvPWzYLjHj3pMXjJ9k9si++EkzX1FTK19FtDCNY3fDtXFg0yT5wJtUg3LWUDjkC8+6V1H0nwuLTDWOIGp53HAM1UMnikg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7rIIic1NGOLrSpSOYr/tgCQmUEckFNCd+urcvRljaX4=; b=UARPcNuSGBweLGIlVrd5OM5aETVzc0fu4SYXpKJZKYr/pd6HX3AMpWutNuZLGfWjCFYhF0GSsDAXc5VBEhMok1e2Y1In8N19IfBii0R7bZchWMuz8z0gsiiLWcow/gle2NinFAkLbcdmA9laHmKvlciZtc6mj044+GFySZiveXbycBGM0GWsmSb62CqMQ1q7Ex3sKr1+wVUrJsmiDH0NhxSFsAmBBww+537dsAowHXT2mzrgF1xQ2YQGYeQLIj9n6AJME5G1Up0p0s2BqfmRKPQEA/vw8TNASmMMTkfai4eQ4qGJ3q7slSyfyozZ3909OtOvMT+2gndPoImKWOY0JQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7rIIic1NGOLrSpSOYr/tgCQmUEckFNCd+urcvRljaX4=; b=CdMzsZzspoUB7k+Lx/mcknmhi24aC4l/vdoC3t2Mtt+kee0ZuyZJzKBplJSO8QeTuzpguSYhnpJSxlRW5L224rIxDGPAEpMYvcHc69omk2vB01OA9KJz/zi7A9+xWJoPSPun2K+Kzoj7TmfdviONRnn25++te5HQu0GX5LDglb0ThTk9YXlT2Ik1wx6bmIDwz0SaACtZFYgWd9pO9qpGTNGIhpcJ3vRIMEAG4sOuFghrhdI60vPBk4rf00B9Y6gZzHjkEI3YDn9b1jfQO2OlLPlmt48XdhKhHKFOZrrZcCDwVIyUoVOql02aGVbAk59apOCMLVTUBLa9NbWtzU68Zg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:54 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:54 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 14/15] thermal/drivers/tegra: remove redundant msg Date: Tue, 27 Jun 2023 18:12:14 +0800 Message-Id: <20230627101215.58798-14-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f983a9e-8612-43ce-4ce9-08db76f7360e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a6JhQjYW/Cqkyh3Si/1GVySgsWOqjG40VxshxfDGj9Y4P8I8sIIS/HzEIYz6BV1/a1wJBbt8If3UdakDD+spEeSlsaJS6QKNDF9iBl2U/Pl3Agr6epdImrzXNugYg2vxQlvsfsMmeeOQVXZM1iCjtKjZADSowCQ0nUCT4wfnJqQ1QxNOhWYrIxQiUJySlxU3Djb5EsijbQn45Ot1RSkzoqcYda9s0kq3XAIcZXBGOCo5rjPHiHfOIm3sv3vP6JxYPd1wIv+pu12jl9vYxTo2XZAs4vJfyHufuPLxMjaqCeF7tpKS6PBICmotcQstrHBSKBRt4JM/tL+bo/2qepEcDe3KpUNwAIh/IdgMHiPoyEl5qZ7pml0KRofmVCwSyWgB0sIAKAblUrmcEqAwm6NEITvrlHCPraE+TZWWan/zA3mv1tbf9xt7C/9a11qhlsXoWAFIueA5PxG+kAD4xBhbtRkMMuDPhX/d8ZWgqPnzph7Y6XzMpHy97RkPurzK/jywOPlUjYs3XC2mHZecvybqi+Q1WayrPWkrkvXE90KvPGrd6WYxHq+hNsgUfduNIkE1Zpn9fqfRVfodGMLIL+R3yNF1Rj+MizqOPABMbspS4ttbW6po/Y+Quivdt7tPeGDY28K5xQ8jgxIxMf8Q6TKwhg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: d/HJ/AozBOQ3WCGANv65bqzGYSAnXPgz4CCPDNSFvhYiiQcUt81G/rklLhhdaY06tFAdYToyWA3gWwU6vRI7ZCyr8kokngjr4btHlGnFUvVhc9t49rks8EF2jkfTWxgh4D3+zF1xWETjFn9KNH2GBmdit6w7LersGNfoxNbfJbDkh+jCaleHd317CY8ploNvg2hcdHgO7s8j0xP1hGElQb7JgiW5zm5zT5HYRJDKYlW9nUzlS3B5xd1vpP6DclRdAV+ZX9vTEKKWEc8xrW3av73L8GqyOSp06FY29JtBDFRpAdnfJ5OdkC0oPxvhZkydcU8Kn791GyMNEDw6MqgCjhqBigSpWl1te5RVn+xZSyC9Z/9alFSc6kcc6E7n8JrdV5UtGW1EEmFeUCbLGde76r8mxNIEooNPYjMfnKBQIrOvYIePiPt+tWI0+K3UGrl5li+fW/oAGhminmL0WPzDheCcONN1XlTzohnOOPEfhAU5cC52Sntliqcfw+Vrt39yxE5MfvdRhdiOONFUReyW6qF/08ojJmrOZ3Pv7lCYdVBc71r/XmZurSDW1cxL/F8yLjO/Fyi+S6+spL5dYyF3EWRqxZkLmfzTaUpsOMqK7sJGe1sf0o8UEhiHDD/OmA/AjS6FDa6JqXW1iUXLniI2uGYhMQgEudkrLB3aWdsGc/cpOtXtwfdWTzlnf1+I0p+44vaxV3jNqjACjZpfiLFYSU6EJ+kw2UMjponNTQQBygWRh5EilRSYbzFspddz51ld4kVQRcbcfOxJNCSSQCdoT2ZmPBjoXiA8Eo/5X+mlkorJGOprPgbskbwt4j2WPODdgqcjTg+h6OpRyU+YWtHrkb9F4yTDCZmMN7C+ngdffroAtEgGWon1WUY8nj4u3jSBKlGEt0JZfoTtEV9Xiz/btap3/VJvDCisg9EpK6rcXfxOLWZuzjxKLimPEz53ZiG8qZAkT1+wz5RzyhY/4ixQcJih2trOIxa2Y5iZWoAjC9N6joCujQoe6GURUxb8ITskNAWQRtZyAopdOyrn9tNsnmsb4Zrx7pDZONO9IrBWzwc4bXtRrEAf/TTTZYhVgprdBL+fcCz7aM/MB8ObHyVpzn51kh9ptd2J0Xzhppgq9IkrJF6NeF7QNtpWPSkDJcJJWLHAO9LSOrGwockw6vNcdv5IguuARyra8EsxzalDv9N8ekDVSwz7MnPFUSCXI70CiuddV/8N6WcIFtt1bQxY5NusbOYHuknUvYzURjGY/F+DziC0XmvTYE0oJgBt0c0H81OffGgSAJ6OtCAPzuRLn/tDesY9yhRvXaU7cI0GXJPTonyDPNQkwUuffVIadSmg8QzrFRWsKDMnevr0ZJqiFDutAvE2pGLlyL7pmEKfcxA6umQexXQTpfLWVDmtVCXSQzxpvWyEsHfDjBHJXaGcG7uoby8PK8Er+m4sN31lML2crh2zDYKc0/rQ48mouSpYiTvAMMiv4LhOcZc9YrErYpa5K2YMpozMETZoXB4GlN2Deb8yM5SC7JsHud/9vG6tlCv6O2Ec0khRHAr9GJ5iuxxGIkdB6Q1CsJ9Q3Sj8gVULTJI1e+kYYrMbFFEw9gZU X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f983a9e-8612-43ce-4ce9-08db76f7360e X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:13:54.1104 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bne7KRUdJuJ6RX1GnbNzvzxkR1R/trqdehm4cGkSvKrYRQhccxKmVCSYSy78ZeIZES4k1jZ4xpLDCUOw86VogA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769852809964378617?= X-GMAIL-MSGID: =?utf-8?q?1769852809964378617?= The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/tegra/tegra30-tsensor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/tegra/tegra30-tsensor.c b/drivers/thermal/tegra/tegra30-tsensor.c index c243e9d76d3c..535a0b7304e5 100644 --- a/drivers/thermal/tegra/tegra30-tsensor.c +++ b/drivers/thermal/tegra/tegra30-tsensor.c @@ -597,8 +597,7 @@ static int tegra_tsensor_probe(struct platform_device *pdev) tegra_tsensor_isr, IRQF_ONESHOT, "tegra_tsensor", ts); if (err) - return dev_err_probe(&pdev->dev, err, - "failed to request interrupt\n"); + return err; return 0; } From patchwork Tue Jun 27 10:12:15 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: 113364 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8107421vqr; Tue, 27 Jun 2023 04:04:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XjRCSYlL66/hUsus4YZtRqei60/ZcPfQ6ACixOCVDGRbvIIvZOc7xzJ10nRZpiidarxiR X-Received: by 2002:a05:6870:c7ac:b0:1b0:17f2:6518 with SMTP id dy44-20020a056870c7ac00b001b017f26518mr9432871oab.42.1687863875749; Tue, 27 Jun 2023 04:04:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687863875; cv=pass; d=google.com; s=arc-20160816; b=MZ6hT0g1/cHDlVQFk9WDRXF2yB6vl3xrrxPemH92bSz3OXTgn28BH74zFP0ixRlMcQ smnbQUwelyJRwhiui/qPBpMZnqrSs5qmQQ33Hb4a1XMBX5rYXgEItli1rXya/ki6//zI yw5mA0XKQU3BvKDyzVnHRuxXT9Ep7H+Wzs3BrbVD186gQwJUhSRbbLntW75nMosnaCu6 IfJw6u4t841MYFuQstCQOPj4pdL6MBZwUGOCSZGI0sXbNYQM7zDP0aeOaCo4uuuppQgU rniaKL8M9r5e2mdrGIxsot7zECIuCESggddvjB9xJOOSiQgM0Fdn/wVw64PFcmh8CRaP DVWg== 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=E7tSH2tT/Jraih9mu6/sDXeCrQeKUun4r//7X+ozZRA=; fh=sza/0KiSKX0RQmmzNeva8CDQz+8rNxaZAoe3aczqH/c=; b=HhOwCuIf7GXcwF6IXrE4tIUW/gp5v+sK2wTZ7U5SMDYG8IZE/QjMEiz0gSnBheMdRy WtUjhlnS1GZOojwQ9ZZFjAxq+oRhlG23bhdZ322YCGo09T/ZOv9Mwl0mopvf4AKCXspo V3StKlFOthjQfUO2ZNsj9rcz5/ThGFZjMvLtswJixYWPhzb1amRGBCnu8gnn958h84F1 d1UFDnXBajCJcmj05A//mQlzO69r/I7Yvdz8XqZfUydm4Suo6hv1EVzlQQn9Ljd4f49e ciAK4sBvHG+jU9MmfVvvwIfwqCxw6Cya2JN96KU1TTtvniD0oqjgEHccy9FapcvqeUGa +lag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=E4mcp7ro; 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 pf4-20020a17090b1d8400b00256a4676b7asi6912479pjb.14.2023.06.27.04.04.17; Tue, 27 Jun 2023 04:04:35 -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=E4mcp7ro; 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 S231696AbjF0KRB (ORCPT + 99 others); Tue, 27 Jun 2023 06:17:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231888AbjF0KQG (ORCPT ); Tue, 27 Jun 2023 06:16:06 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2118.outbound.protection.outlook.com [40.107.215.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D1FBE4C; Tue, 27 Jun 2023 03:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d0CxXaiJF7On6Nn3KJbg6mM15W6L9gRplwWTX+c/grT8u9IY+mYP3rpqOCQnqnkumR93QLmYOQIpLdJk+RYpQnhhe/7iG8ZtjqRmTzHB+QIDivJefpO9QQJ69gqS39EVG9AJZHBHdt0pG4invjE5w7IXr2NwZ4Fk0VX9dTfrhfgytJtkeZCUHO94lrVX35hYDHEUF3xcm65v/NK6Eu8gZm8WF/0vsrTPN049IW7jkLEDiQpH02WC9vpPAuHiIOx1rS0tucoNsLSOSZ/WXbOT841g53RqCwX+HfX6reQl0sYDZN4RzANdx5jprdx7eiHJ1CjEGdLqbD6l4GH2lzTnig== 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=E7tSH2tT/Jraih9mu6/sDXeCrQeKUun4r//7X+ozZRA=; b=SV/I5kXAjFkVjPKQFJ+o+QBAPwKYlLFVHKdAhuv7Ydwh2GtDp0mHHB02U/55Ym9xOqCZ+HARRXa8CYCVgLU78mJHhbA9qJOJ8rtz7a1xJu7YRYJia9Vi6htaTTMax0Ea+73bGdcH3R7k6u2sQYMbeGzuLVidEwGXIYnj3y4vDf9KHZs+PBVz9ujULLrVgI6KwL64o043kFf45Tc1ioKasNbQ00XwsccWtaj3shfExygOP4wZjvAtchk2sZu0YcalfhGCS49wsxn8bT13y767PDkJxjAIBoQu2soDy15zlwC3APINjCkPXU8vgYQoRUe0+pkbmT+z4krXQ271sGONyw== 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=E7tSH2tT/Jraih9mu6/sDXeCrQeKUun4r//7X+ozZRA=; b=E4mcp7ro6VjQZ6PldP1rQFNmOF3OWF8MUYC0bEkshPuSvLs3VteTNthdW5YGU6NxeYAFQ3Nio2AW2E3UvOWFW0W0ty2JZBa+aLE3k6SAmdTJ4Muw+emp/z/P0lH4H8Vw3O30kaTWf5wnpGZHPtuaOd4FmFBIlN6GKm4aSi0+gnfJURDnmFPGGNsmXIeQsAt5Q2rJPYCIiDnDLECoshV6z6xwosjiFiB71IXuGbLst82euzgl+U33DrbvcB4tNnTEGLqh5spfnh0vIl6RHoAFx+tAcG0JWF3PPWk9a66ygN0xmntdkvAkX08T3GAJ1qVzr1MlA8bESI0YDq8A9f2A4Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:14: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 10:14:00 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 15/15] thermal/drivers/mediatek/lvts_thermal: remove redundant msg Date: Tue, 27 Jun 2023 18:12:15 +0800 Message-Id: <20230627101215.58798-15-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 81094a23-312f-44f9-4edd-08db76f73a0f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /NISsRo869Vi/naKNba7EDu0CZiNjJ8uIxdhK7RSA772mSYCNNEismlNYDbAn2/jNOTaCRiCad+j12hSfHgtXpYWS2KXLociAnAeasb63NeMPfEue1t0Izwl1pMP6/T67GUk0rnbx8QZfSk78UQYyJ4adLusLnPHVJuIoCzIM+gZ17mu853QJ5vfGqP6Y9AgrxMYXznd2cFN5v4yB/A8CDwx7MraoHlGt6unbGuZq9v8ADWMQ6gzd46neI1praqqmc7JOgkqhuviBJpPecLf10t7XydLwMOes+AjshGyjWZQv+sKuGJByg/K4wMKJ9y6OZnJBwv1mBAl/hbVNfmjPWRu40c2B6TpgWGnLKOOfHZ8dPgfWZLR+rIbaiCTVhoUytxCWEuczUp8BgUTQqx4+NQ9lJ6FeOrKCDYNloRcom42OxLp+ueI60ozcMzRiSG5Xz3rtk95Qc1hrmxUE4oQssOr/42DW0j095QepHrC8PqGPnaDmWtSgNPLk8J/ouYfkEUaEDHCQ4eqXjmYpCfLw0hau91s7oZuRVOVHtloatmGWHUmiL2IYmBpw7Sy3ZxvrbOEhdqaXKcwncCza9PA72fgpTTsFb8/kK9UKjKSGdv5JFBlBnCXW4JZihKWhQ+Uxk1EOvV7y5+aFwO12aSGqA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kwDUWecQRY9x822G3hENRcw3G9AFRwgMtJvKdLMUrLSH3SJlv8BYlZyI4HvLsS1f8LnXW+foAjW4yFJkFUeaav8QKmiX9cxllsoCaxPWCiH4q0mG6Zf7HM0IDd5tfJBQJKQ1qAOx38FqMkh15tP0Xo6ccWbQt4pYPM9RToPIjMW9hJw+irbzfsXQso3I0uQwyFlfH4kjMUzVwuVV0bKXmF47NkEGEZKdjd8YAHci1qbfRNbHcoun24NCaJHt42q2DFOy5QznsVSuxIf8S20XFE8MBPlN7y3jg+8Ug6PqJVuqRVMZRW/n/FXFyBbHm+pwz5/GPvMjJCVDE9rmsqP5ThQuGa+2TSqQkyqzNnM8LV04madzgNalSJ12+VmUYPTovIi1+v3PhaTzy2aMuMxYLcEz59x0WGSHUyYXjSbZ7J9zByGdhU54mkY0alG9G97T2fwufUieTbPIWCMmJ/P0FytroWnU9LA5fhviCukJb2RwtaOzImnAQh8ZwztFI7oBNSIP/5ilGTVNpkFmZ9DLxeXESv6vJbDxsSHxYtyy32xlP8fIJ3m7UoAmoYCRc3wnZIZYlNBDXq9DMlAMNrNmqvYEkOLJHST+HEIA2c+duLBuim2xIXShvbeH5lpI5dxXPZ6B9iZq1fkuE1C0HyRyBF6tE+d+BdVCw7UGCwOcx+GUYhITrD8dp3FuSJgqHyVOsiqupOFAzAy+eJMPV7l9ztcxqwsXE7dFvDXlsAUpEhHNF7L2XgaqjSEKYVkJgSKzk3tAjiFlZF4QHxQaDM1nLY9ulLR9c+44gDnPGu1VhVUorKtjjklboLmlTBsDinVsulIFnGk4quGV1gEatThAisTiT/o/3VxT6vLy1jX9ISXCU3N6JJHHPrExlmwjZBUscorcKJX2kJkG8dy5lkkLEE0Tu4QH5B2SbHC+yN9acDHNvjgM2bP6DgaslfbfgZ6h+hymulGxd4miXRd3/kHVYDmm0IBg7I/XLkTV90gGGSZ4elacGhJrw996yn0yd0dXHWdmAUGEaXn18wb5ejcvHgkPgFaBJuNTdU21MT2dkWDm6Lsm1ubggS6PoKzqXbKWpaisDEy9V3CmOl0d9LP/AJuLL2v+qM543LE/O4ge0kHPndjcNBq5qQiBdXAy7OMof6552IqSvpGsxhHXETUgC5d678EEmmz8yyr3wuNdVtMTyiTBCsZrRcAqiJ7sQXSsvslUmfsFVn2ot68NxbGfIi0HGHIV1LewBVyxV9JIfeR9oZbsy9BMDwE+Scy8z6CEILSPC3xI5hFwoBEvJ/3i77LC0yfb8YNxQWBQoCXkj3qooh3Z++3BKX1fMxiR85pSfmX7f3JHfwN+EFTp/e/mfHZcjWyLolmIftfqcye7hoI8nOZrwi+11RqI+vwmzhU8KOPi3rp6a69rpxOTDrUoaChrLwCY8zo2bWs5P9bkWsDJgpvmVwQKCoG749fKlvz3EBQYKm530iTwqoK4Yqy8fo44yrsUfQVWJlx2gOWRUDQemb56yKYXBIdb91Zc3Cbk6IzqOGbyd4ZZsQKPruMJkDiypHqdwT7ud8nQmEGkz4KIZRd7yv7umr83tVvsiddo X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81094a23-312f-44f9-4edd-08db76f73a0f X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 10:14:00.7886 (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: M6eR32G0woF8Tw6YCAaSX59PwYJXw9tnkdrbbiJnjbY+UD3Tw8qH1AVdn7tOgrsHuoTyB1bjto8Y0zQg7ssGFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6661 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?1769853551472550970?= X-GMAIL-MSGID: =?utf-8?q?1769853551472550970?= The upper devm_request_threaded_irq() function prints directly error message. 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);