Message ID | 20230627101215.58798-6-frank.li@vivo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from 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 <linux-rockchip@archiver.kernel.org>; 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 <frank.li@vivo.com> To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 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:O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B2D7at3GBkc2n/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 <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
[v2,01/15] genirq/devres: Add error information printing for devm_request_threaded_irq()
|
expand
|
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);
The upper devm_request_threaded_irq() function prints directly error message. Signed-off-by: Yangtao Li <frank.li@vivo.com> --- drivers/thermal/imx_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)