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: Yangtao Li X-Patchwork-Id: 13294272 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C16BAEB64DC for ; Tue, 27 Jun 2023 10:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=V8YjCNjGcRJyml5Zt6Q++FT1cPnN+BYtS+aBV/lIWN0=; b=wqRKzfPIGGJmx+ 4JYWSIpXKQ4v61lTU3wlKe6Z1Dv4PjnI46RIEsm2VADTWVDx4BageYPSTeH/USFh/AAvdwdeXAKUt Zg0e7GQOf34QxabR4rlkcm5NIhD2+c10m0ho+UPK3g0kIjgHlP0XAxelltS1TW5Bz31XStGy/aRSm YBregVkj6kezcVLHFfH4kNzdjkJv0nDMNQ1U8/+W6xhjTrYhmmFcj1y4B5nyUR/wTrwfcVzQgIRpz DbBHliwqZZg9pt3kLHoVIELJxEUgV+2IQ7LJUmNedFXxidB6G8nti4z+1gb3YtpyA+uZZKBWwR6c4 m+eZpwCZyS5HO+s1QneQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5gr-00CmDk-1U; Tue, 27 Jun 2023 10:12:53 +0000 Received: from mail-sgaapc01on2070e.outbound.protection.outlook.com ([2a01:111:f400:feab::70e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5gm-00CmCO-0k; Tue, 27 Jun 2023 10:12:51 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031248_297539_4A43EA28 X-CRM114-Status: GOOD ( 12.33 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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: Yangtao Li X-Patchwork-Id: 13294273 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 077BBEB64D9 for ; Tue, 27 Jun 2023 10:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MCOxUd9xGYxGtw5nIUfnBuqLujaWMKvRSxnKiM/oeIw=; b=ih6GqQQJMku8sj 47T4sQMMPIw+9U7f1fjKMfUB0JSmi4HfFBB71SvWYh0Je5V/v4m12J7KEylmfLu5ImvweGCuAXnBt sxW5XIzN1KtTUzf2K0Q1XKWbZfm79QYm3yT9zSxKfZSQANHGK/t2j9Qqa9oEtmy5JuSslHVf56eu+ wtjTeIljD1/KQ4t9gMk2SvzE9ZfPW3h7+e2xaLhsjL6SgGDJhi7A3/V83bzQwCc523tg4hNecwGxr brkubV1rzkJoXY671p/WUF0oUtBpK7a775XX0PNd1fjCu5ONlbCaWHxG6FFTUkY6A72tjuxXkpwa8 LZfvKrMG2CrtPgLeHcsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5h0-00CmH7-1v; Tue, 27 Jun 2023 10:13:02 +0000 Received: from mail-sgaapc01on2070e.outbound.protection.outlook.com ([2a01:111:f400:feab::70e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5gq-00CmCO-1J; Tue, 27 Jun 2023 10:12:56 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031252_445467_8AA3066A X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294274 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23329EB64D9 for ; Tue, 27 Jun 2023 10:13:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mDemYT1Dx1nOYvcQMNJaWeXt8bMfOrZiFsBYVpl6eaM=; b=FFn0Uf0KNxBuFk 8UPXRtkLlCxX0JUT10yD37Gbi9OSMFLrCmX4T+2/R1R1h4MGuNjYy+zJ/sKsZFZc9flj9vCXtvjWj IAe/A0LIiPhb2FRTCxt9R8+fy2EGULceOThXqXHCJWglrwfExDc2vksPShd+ZnQA/Mbr+PJ8JHFs5 dp7rfyKY/79xP20+Al8YycSkWdGSgBDCjriPvvR5PuY9JdjMk2NTWOjI5pJSwLY5bXk4YIv044Zz2 eeBj2OyVXPk36B3/XRbeEYLUm7p46PSd+OmEPACJmQ68Oapy7LiPfMTVXvwXQvlLjqK40W77yEbxp du3yq3BriqftU6R11DCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hA-00CmMd-2U; Tue, 27 Jun 2023 10:13:12 +0000 Received: from mail-sgaapc01on2070e.outbound.protection.outlook.com ([2a01:111:f400:feab::70e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5gu-00CmCO-1t; Tue, 27 Jun 2023 10:12:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aTM8Ut8HEZ917ZJJA1KBVmbTd+DxX6I9a82uTjavo4U2UmNp0tOlCJt8QybDH/V6TwN8rWnu0efU3CWb26CRZe8JBXRoiMUL9x1d7pIh1vUB0VVwnVsqZiY/98Pi1gi7kMSdKjpKCAB+B69pdJEsAnjSawm8YIum8KOjcrVzVzI8uqAIu8oCpBCZo5Vi1yfeuHNUwM4+OaLlOpL7/8OJH0takyNVD1iGJKG2mqm2s/GEOdt5v8yDNG9GbQoKVux14ptWDdW9fwTUN+SmBE2pu30NewPWCJHPyKx/e5djoTPRybbwOO5MXfTc47jEXePhHSA/gluFDG7vPX2rLLiPcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3Qb9DNrkU5ARIUU+cr0yOK+SXTENy6LaR2AmgH4Ek9s=; b=VagiK9zAx6J3r9729m0bcTbAQGJ8qmqQA9DJJNq+t5bHI5ET06oGc6GOgRoBrl+sWfekhaSrFiBLxnsy/M3OIFggMkzNBL88DK1DQyvkVEubfxWz6gYQouGm2V52MdZaMleY/Wj5LJMcEcu+j7Tkx6GHdPuOjzJS2sQA8TL3LgZQqsEluJzg+pb3xJ4qiQ/qMg4Gb3xOupbZXMVIKd5UH/HJRjhpEOI5ZAgFuTqJ80JengWmC2cbB7RB90zpiZk7Wp4H3gKpA/sUD+m5GMm6Xn11EAxk7SaLaUph0nUsQfopCRFbrrG920A4PeHlcD4cNSfCYq1In08jP71xJXkhqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3Qb9DNrkU5ARIUU+cr0yOK+SXTENy6LaR2AmgH4Ek9s=; b=SUrbqac3EfGN1S3nopkNA3+9TTbKfwSY/fMd2NozrXJQmjYc9EbJIemV6tb7kUzUS78L/M4k9z3Aoxgf3SgnGZJyZP/z9fDXXUoTJ3rZRWQufq/P6AlesBYfJDRuoYecJzSn8NSepTeRP3lNyp0DoTWshA8kF3yYmDrOMZ4hlJQ1lI6Yh5SBhTAs8pUWYTkFw0xz9rLr6yg4R41xEmAoU/a+++75qz0K4Njc3sgDYZAw4VAq2pKwF9Q0OtkZK3GWWdlmZznrehAbkmxukDQto1QWDBjfr3v2EJZkNxetfkJetTKrYLptg5oW1ERVwJ3/P9cH2yvlN/PuELXxhYowTQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:12:45 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:12:45 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 03/15] thermal/drivers/brcmstb_thermal: remove redundant msg Date: Tue, 27 Jun 2023 18:12:03 +0800 Message-Id: <20230627101215.58798-3-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: cf15c978-270f-43ef-3f1e-08db76f70cf9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RERfor4MyLcbGi9OEmOV4YLKsrSiYlxbP8Edx+oTZcMa41NYiOTT5LKGkhSE3GuLMOulYXxn5wGi80D5+eUwK96TK7GDxkAnX+aCVLCEWXIWL6gcNf5h5VdiLLY4oppK9J3B0S2ZXC2YjEy9hvZowjrps7mVj+XZxoDjBtVcpAWiOwW9g1HP48GcbGKZROqQaFGVD9siDkO5FHc5M6iwqCIAOy5CUlW1tUsXuWngR75wXzJvwNEaoBQ1nbUViI6CCivRk9VK7e8bN7s+uL/yEfaMwFsLCksQPF3US9rIzDVDfQP9hkxCPr8AnJRIxxAxVOo8q+oh6c6He5rtbSFugcSDCLtWUQEWDLMsKxCqlE6HN2YTgpyOFtzGOwubA0/B96vAf/m6JYwWBzWpoitJgBLYzlOHB031vDnMKpAnN3rqODpRr8Bc18KLtBOoKrFe6efPLzrHHbYlPa96rDe8tOiWR9yzaFUgf49v51aynGjVgvlwirAq2GCiA7xcEQt7CUmLUJhjq5slPX+IfUcab5tNb56HSw1zUQh/cgUDFNP/2viejME9CLLILFyFwHrxZO6qWqvkri693bzZ65G0QIKQZ7rRSsIU8ctkK5FY09+Qcx1fczkhEfSOBsOHYghiIQbv8T5Iz5W60ZipMEfeiw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001);DIR: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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031256_630271_FC290444 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/broadcom/brcmstb_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/broadcom/brcmstb_thermal.c b/drivers/thermal/broadcom/brcmstb_thermal.c index 72d1dbe60b8f..7611094cf367 100644 --- a/drivers/thermal/broadcom/brcmstb_thermal.c +++ b/drivers/thermal/broadcom/brcmstb_thermal.c @@ -353,10 +353,8 @@ static int brcmstb_thermal_probe(struct platform_device *pdev) brcmstb_tmon_irq_thread, IRQF_ONESHOT, DRV_NAME, priv); - if (ret < 0) { - dev_err(&pdev->dev, "could not request IRQ: %d\n", ret); + if (ret < 0) return ret; - } } dev_info(&pdev->dev, "registered AVS TMON of-sensor driver\n"); 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: Yangtao Li X-Patchwork-Id: 13294275 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6BDDAEB64DC for ; Tue, 27 Jun 2023 10:13:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TQtd8ys2tcg+gnsu/ILFDHjXu8ubAH2dVSez8Fa5atI=; b=TlSOVS9WJ9vKO6 KwcO1qqddE0yLuUscLNr1jEfPFd3G6kmTUwwolt3AT6ypD7Vbqr8HOYNMFMR84OvoaM1r+O31fvNz a5jg5VqnEH+Fguz1D8oo9jENsG06UY5pFTqI52kUabws1AHrXXtImD1JHoSBKCANVHxp1QIM0NItQ tlbvHhVQ8dbsgBWAliWCsjlf8IwJ2fhAamWk/eSOuvzA7ho+4BuEhMsyUYEf9P0R3HIBtfU/E4YVy d/nY+0M+AmRuTOYzyY87FMx0dehRTuNI1SZ1mbG/7yU5veKaQh0XYf7AndG9G5adXZ7UnoC99njHP Z+olaitoqunrxBFyzgXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hK-00CmSx-3C; Tue, 27 Jun 2023 10:13:23 +0000 Received: from mail-tyzapc01on20706.outbound.protection.outlook.com ([2a01:111:f403:704b::706] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5h5-00CmFN-2a; Tue, 27 Jun 2023 10:13:09 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031307_844347_4359988F X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294276 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D1C1EB64D9 for ; Tue, 27 Jun 2023 10:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RURhmqNsC10mvz7Ar73pJ1A3kweXNiPdTI2O+2vWmb8=; b=0kj7575FVOp7CW ZZBtnboDrLzSDfNdksiqzpovQS89h+pjSH6GRznAAoTqkeREtcx4irlZpd5F0x3BZ+AXUtkKjwO+R 4O/ZhA4lV0OYB+oIoTwETEIAenuUCcp7n3JAIJ9MktkChNp0/oa6dQ0ZpFL0qayGZArATZ8BRIF3l qxMi9Nu1e2LMjXLB6va9nl6kiWzLKrNO8mJURvRw42+9w8NA4vyV/AHLnfrt1n4HpjB++SFMYnTjC waQem/0YHnIjZ0+kamwxnZKbuc+Tiu+b22BZOxFXIM70W1iXxar7ctGJed8mOdWPZDlNubgIW7gPf shUIH/WIH/Kwrk0HQ1DQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hV-00CmZd-2a; Tue, 27 Jun 2023 10:13:33 +0000 Received: from mail-tyzapc01on20706.outbound.protection.outlook.com ([2a01:111:f403:704b::706] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5h7-00CmFN-0x; Tue, 27 Jun 2023 10:13:10 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031309_354218_318F896B X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294277 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47E47EB64DC for ; Tue, 27 Jun 2023 10:13:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HaLX3xs0pQhCJnYum1hukkd2zW4qxG/KlmovlJ7m0Xo=; b=P9lRdIRH33dPld RVuz8G73Ha2vysJe46C0Bf54p/UKhtOdAa7d6ikjC8Biadokrw00JBtGe4fo77pNQdXNucMn9xFCK HPRc3dt93MoFHwqR2yVaymQchM7yMRVhaJ5YlyuzDpVXMEvgFk8JWhsDVxhDBdfJrFPanyiOFQbz6 8atVXKv2KbKY12J3WuUEpBoBWGKLqELBGGh3Bu/vI1GyYpOrN9z7cNkzQkJtT+JwpYTEBcARPUMSu 5AxWjLR8l0s1IxZyzKf1i8ThYFuGKBUYsAZ5N+yQYBs6/i1OHBbbwVLh/7x3BeP2ChHAXpP8PMX9y A7S+GrVXi9vhZosm05EQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hf-00Cmh7-2D; Tue, 27 Jun 2023 10:13:43 +0000 Received: from mail-sgaapc01on2072e.outbound.protection.outlook.com ([2a01:111:f400:feab::72e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5h9-00CmL4-2X; Tue, 27 Jun 2023 10:13:13 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031311_849500_C5321A7A X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294278 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C44DEB64DD for ; Tue, 27 Jun 2023 10:13:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3I4AL97paPtyWXYwHcQoledJncjsAFS/hBSyWOFIPaY=; b=tmoqGQ2U2csG6L T0IzvrT3nwF06JxjI3whnVExkt33+vtC/comGiZUW5otzX81eri7TcajcvkdsDaLIDFkq8dW3Oa3i ZL+9+Xm31ONZexxjA0+xuG3ynPv+NoAlxdzENLVR2DoaPyNu2kva8mky98vHEfACCtbNIxiXtKYHT hkkXJLmscO+X2VlhLIR8r8jQgFlI8nDbLhFIK2VkeLOlD6wPkZgi/InoBl1gih3iiYNHjBJWDohGS dAwMnOaJK85owQKN8YAvx4NJPXaSZ0d18fFIypTA3tLRo5HktRoDWLw5fxqQefxPpesdJlzZlLq+2 pRTDwosPEuA9wsvEwe+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hp-00CmnQ-20; Tue, 27 Jun 2023 10:13:53 +0000 Received: from mail-sgaapc01on2072e.outbound.protection.outlook.com ([2a01:111:f400:feab::72e] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hC-00CmL4-0E; Tue, 27 Jun 2023 10:13:15 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031314_109746_3EBB646F X-CRM114-Status: UNSURE ( 7.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294279 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0F3A8EB64D9 for ; Tue, 27 Jun 2023 10:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uoLkAPmK6hEeo8Wm2SbKhUMQJf/23RU4rnh+r1hJh3U=; b=h2qGZzgqjLSEpA GSBYi1zhfOhX7PsaVHSgGsuxI8aspIiHuwVpUbD1O8EbTniLqBX/VWE4uU4oS4M9lq3NUCsQDV/wg a0spGQSdQBo+IQc2lq7He34ujf48ipe5iCs3kpu4iPgkFpq5y1KEOdJHlG9SuQRY01KxYayhoT1ZF jvfkH0pe8mNSGr3wIVFebhiDP7S2IIMInytdresJ53t776dcjPpMVj17jTX7hdIFavZkABF33F7zg NhmhBQ8n7Ta7GLRlbX2IgDGJ5lWBC8RBuH/wOly7mTtfr8KAnex5bznXk4Ldx0akbHEj8nyXV0H5H VY7YRdCDAqyZs7xwaZRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5i0-00Cmw7-1l; Tue, 27 Jun 2023 10:14:04 +0000 Received: from mail-sgaapc01on20703.outbound.protection.outlook.com ([2a01:111:f400:feab::703] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hK-00CmRE-13; Tue, 27 Jun 2023 10:13:25 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031322_372608_DB192081 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294280 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9FC3C0015E for ; Tue, 27 Jun 2023 10:14:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=b7DhV9mmF9twLWjCcUcxtP7EdgIdcMl0D3oUw6ZOCfg=; b=PGInDbQ9DlSI/X jfvCcrUtHdcd9PhhgFawqjINnRlPhFo1Qh0s+IxUHpLhHCXaVoGYQ6AlOprzeuPj2CxRSwF5n+gLs g0RvKkTY4cOKQljj8p/p3cUBsz0FhfHsexQE4Qp3/stKVgOf2bjcfP1uBGq7I8VvtTbg+WwgYgfEu moK8jp1qDfwKVAIhUZjhGTFrlVJlXx1yiam6mxseehSZEX8qGfEmiTPgLzbeyJZ3wkD8Wjuc4LxM2 TjD1iuj+K9mWb0td53aKEZNMs1lbQV84stiZBUUhfeLR6EP9/SPA9Hw8Siu5RnwhFXG2Am2Vi7odJ Ka/8T3q24z0Q2AlXdFnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5iB-00Cn47-1c; Tue, 27 Jun 2023 10:14:15 +0000 Received: from mail-sgaapc01on20703.outbound.protection.outlook.com ([2a01:111:f400:feab::703] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hN-00CmRE-2W; Tue, 27 Jun 2023 10:13:27 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031325_856762_7BB8DDA6 X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294281 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46A03EB64D9 for ; Tue, 27 Jun 2023 10:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=atPPsdl2k4xaFtWidX6s3NJv/KU8+Atji2c5uv2VNYQ=; b=4HJ5dQfcTc+bXH OGPdbDfGtbOajIIXtVI6fWC/TrMqHVcS9fC845Aw2bGbsXYJkCyTQKl1hwm/NB3Bxch66QHlI5YzS oVHfbGEibVNIl/ET8vCd7v202xIPPgKajikGfo/qMyZyoZpLGS7yYaMmiQ1qxY/+W2tnIUh01AUeM VDi8AnC2nc2FWAq+BDO8TgCCUtz6RrbjfEmeT6B67Z774uw4sBWIabvdnXBtUUwinn2tmxOOGA8gE Rh1iLriHBu1XD7eLZmPVz0S0B/udhUIHA3P9DnkaeO3HUvt/UdqoUMjKFd7JZesuOZLXSG5NLIHrI AbfW5uhPBg4bOVXFy14Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5iK-00CnB7-2O; Tue, 27 Jun 2023 10:14:24 +0000 Received: from mail-sgaapc01on20730.outbound.protection.outlook.com ([2a01:111:f400:feab::730] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hX-00CmYf-1k; Tue, 27 Jun 2023 10:13:37 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031335_582973_193736D7 X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- .../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: Yangtao Li X-Patchwork-Id: 13294282 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22228EB64D9 for ; Tue, 27 Jun 2023 10:14:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=icHKYMyRR+JXb0MK4n8D1wRHe9t/zPEQ+NFQjAuvdMk=; b=ZrfQkkPCS1ktkF RsSLSAUReuzjntEU6M0nxKtmUdGQrl/1qqEkeAmgAAAITsbwNXxPVBaXrWVRDbe2fKq5L3IVilt/m gf7npkHKDsMKwBq/qjrvyTXzkYvsyrHhaYj4AsfKzkAUF94x5la86SpOGYM4ObtFH+svKVzihxK86 +g3mlKsyuxVHXJpdT2tK5a10zgiFdj7x24azmk9uq6m+9AmiE33cvySFW09WP5FfzAS9KVnr+aFle e64DqQfSs95hpXLgP1Yjshp2rkDZTNYux+vRkwoqDrtdA4niJp5nlQ74Yb1hw6aRNJe3erQTcNxCQ lmFqyhHLKGWrm5lMcelA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5iV-00CnJ7-28; Tue, 27 Jun 2023 10:14:35 +0000 Received: from mail-sgaapc01on20730.outbound.protection.outlook.com ([2a01:111:f400:feab::730] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5ha-00CmYf-0r; Tue, 27 Jun 2023 10:13:40 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031338_345123_231D9740 X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294283 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1431BEB64D9 for ; Tue, 27 Jun 2023 10:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hwtgdecPUjxz7VCKLV4HwXaTNalzAak3uH3csDtVues=; b=LdiQCTuQ9hqwC3 M/l6FMuU1CmmkyVwv4VV9InzKRpc7SRGfDiLue7YmijoTZGloqdMGbpNofdhef0VPawRu+25QYdUD m++FC7xwrjlbh1oYiK/Xn3csVu/UKPMZaCMNTzLIs/Y4hUE4/0JAjznVIikBTeX5V4HbwPiV5thUL /zy790bflzZuK+bzJa2/QbJlSGoRhwU1PfzXTMp++Khs2AtUL7Hn2JjDA9t6xG0VV7N41MG99CA3V jsz+zlFRrUxKTB0FNYt+N1E2HmiVkoNGobEVDaxGU+D3zT4GWXZf+AttihZ+i8NfXD3ER2KccJ2RB VG+3aw63srBnmiAzMmnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5ih-00CnQp-00; Tue, 27 Jun 2023 10:14:47 +0000 Received: from mail-sgaapc01on20715.outbound.protection.outlook.com ([2a01:111:f400:feab::715] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5ho-00CmlJ-0r; Tue, 27 Jun 2023 10:13:53 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031352_310978_84AA4984 X-CRM114-Status: UNSURE ( 7.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294284 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 809A0EB64DD for ; Tue, 27 Jun 2023 10:15:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=V8CP2f0fdwG7oTszO+u4HqVjsInc/xsKMivbpOMQaNA=; b=1XV5y1t2qqu4Hv vc1zkb7ZnoKRrP0Lf/phNOc1a+RyP1GvU85+jjNsmtqgcFQLtoFuX9WuB4XHghu3nXFWG/H0oFPFV 4Jgd9CdiBWnlagJ/XBN4kLXJZypxiI4kp7cJ1OaNmLniNVamjfSDT168PMG8v4jj//ERUA2ej1IYy qlEcPu5Lvl9nyCRSyKgCqiWL6HI0KJzlfwD+UfiPlfeFMJeMH3pwk3eNTxsdWI//qLLNX5t2y+OyS C51SzLAt9tiWbvz5a7lep3vGpg4fsgC3Da3i43NPJjCbGftuBqNOuWVorRgjdVzzpOMziuUs/szd8 2PNNMBCxExU8kDEQTaBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5ir-00CnY2-32; Tue, 27 Jun 2023 10:14:57 +0000 Received: from mail-sgaapc01on20715.outbound.protection.outlook.com ([2a01:111:f400:feab::715] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hq-00CmlJ-0m; Tue, 27 Jun 2023 10:13:55 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031354_301035_E71715AA X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294285 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4A2E9EB64DC for ; Tue, 27 Jun 2023 10:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jgC2BiCI4MS4xwHS38YTMOIX7Oo/VED/qNqAQEP1Y1U=; b=xlwyISuEkcWn2O XjtBipnDi9w/1uVExEfEsTysjrnZP9Q9O6lv4CR/rPlusemkym45dzxoQOPkhusDLR3lEIE+2vt8B pTvE1t5kr0UIw63wS11XmVkUuAlzT6jbektsMIVM/JlAI1haJXkMdfuP42Rl0uRhQn6B88HA1QUVG yfirJI2ykQBsyG8p61bjfdFes2NbzyHF8e73gFITi55KqYCYyPs1BbTEJa9CHttUr+FS3Zl5gCmeJ V1nMwFN9m/DGtt7fWdRMiYgonT7DKyX8i6YK5RFGJivrUwgcCbjy1HRAPsxPOoHm8o/szJ9r51Ky8 ZG9G9bgsWGgwHl2zVbnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5j1-00CnfU-2t; Tue, 27 Jun 2023 10:15:07 +0000 Received: from mail-sgaapc01on20715.outbound.protection.outlook.com ([2a01:111:f400:feab::715] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5hs-00CmlJ-13; Tue, 27 Jun 2023 10:13:57 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031356_390302_D7FF0981 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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: Yangtao Li X-Patchwork-Id: 13294286 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1298FEB64D9 for ; Tue, 27 Jun 2023 10:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lKAEACwZx77P5asXpwNl56jadXOg7Trl691+WfNohBs=; b=r9DNH4hHUFNYNa 6/CiQnFjNEKMyT3rEoUA5sru5fBwpI9Z65TGXUbzOq5LPjsvE/w88GuWyel0CyW+eAwDVPZsUWXrQ PVrMUpfQQC524VoYV8GkPfJYs1rTP3f0PGWqB1wDdggbvxQ1tEvX5ooM89f0oEDR0sXEoGmm3NLvL TjckCgm5Wt9QuK6aC6kYNHlYkrPFQgWsHsNENp4HbiwdaG6wIHZdK47hBq/jVfYGxI86+rM72nMWx IhPTV7z9EM6L5896z2pHhAN6LYK4q4oUDqXmSOllmgbC4LtZAuZyijJ8/n5+I1WfY9Oy+QZq6RryQ c4FQFm8Vk17fS40lmYpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE5jE-00Cnq1-2p; Tue, 27 Jun 2023 10:15:20 +0000 Received: from mail-sgaapc01on2071d.outbound.protection.outlook.com ([2a01:111:f400:feab::71d] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE5i2-00CmuO-0J; Tue, 27 Jun 2023 10:14:07 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_031406_138161_E41659CD X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li --- drivers/thermal/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);