From patchwork Tue Jun 27 10:12:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5p2O5oms6Z+s?= X-Patchwork-Id: 697120 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3FF9C0015E for ; Tue, 27 Jun 2023 10:14:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231916AbjF0KOJ (ORCPT ); Tue, 27 Jun 2023 06:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232010AbjF0KNk (ORCPT ); Tue, 27 Jun 2023 06:13:40 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2095.outbound.protection.outlook.com [40.107.117.95]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A21EC2D42; Tue, 27 Jun 2023 03:13:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kiw6BynbzZ1XUDf9BkSQzUt6j7u1Gem5G8OcJ3xEsvWRuhKVW/bTrBuPDP9eUBNSkoGms1WxVikgxJ28fzIA6dXSQ2DB0+tLvm98O2kcntFExbrU4rnN6Wi5x55DO2hZlGMSoPcqSmJt4E9skoAurBO3KcdV5xb39rPep97vjBb/C6O9IkCbE6pcfOYAZmIj/45YIRB1RasCyJEGkVEtPoic1JjSP1+FklTXblnO2JknNcGqmiRcZ/QBq1kkYiZ2ry8cGloy1UQIuowUY/468fYbaap7ED+ssoI21tyyJjRfm1HmJK2h7oJqx/8OXuQmGnKuSLZ+spL5UhKWRurNCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=I8Axm/BuHsL9VLgY4AKkzo4979rWeQfa1Dr9NSzhxws=; b=oJ+/fuaH6gpK2Smme6/WQAnZtXfOkbJ1yj+lsMR3QCQzj2F8Qbxa8NnxmAz0X+vnOFZBLNRM1uxBD1JipBMe+SiqzoJf+A5NVEHmkBiht2FPbEF5ewNt7bbWJKc+woDoZWwzyq9y8CWQ1XwFOfVUXugc70T6esPgfRVHeID7S5OFAFME3/aGF3iH0987GQo74uMc8L/unU8lNf8fimeegYKQk+He3W/5cVjhs79JwY2HhSASSAevZTYqxlMzVViD0mu4PYUkaPxCE/+c+ja8rEMKerwWxGk0br+dfeFfLU3PAJMQdGK+W2f6qQSKihB3HXV2HzwjTJCzUTcY+wzNRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I8Axm/BuHsL9VLgY4AKkzo4979rWeQfa1Dr9NSzhxws=; b=WQktMvxvOQA1QjcDDGXW6icrvuowYvgKDq6hfbb64jCqhv9ecD/Y2MYvC4/w1UxHg4Vll5xlHMozZ1674WbxwRcOak6KnMC/zkXZ6LxJvokUQr+fEivruLaJBDgoSJay6VsQVBXmlhJOBh8qrw0CssX7UC3BxTPEHGDPvqU057Xjc5/vRFZIyFoxkcBhP5PkVwwerqol8ldbBwbMsDt0f5a/p2WWfngcpwB5RmPJlrkWCM9hDAfRqMpf1RisPAdBoIjNmsTv9JcdyHVVgg6h0XAJszJWHeTGxgcaATy/O5lASI9U3Tt0UaaYzBp7jteHTF8PhCKby3ZVpyrJlYuong== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SEYPR06MB6661.apcprd06.prod.outlook.com (2603:1096:101:168::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Tue, 27 Jun 2023 10:13:11 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 10:13:11 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 07/15] thermal/drivers/qcom: remove redundant msg Date: Tue, 27 Jun 2023 18:12:07 +0800 Message-Id: <20230627101215.58798-7-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627101215.58798-1-frank.li@vivo.com> References: <20230627101215.58798-1-frank.li@vivo.com> X-ClientProxiedBy: SI1PR02CA0012.apcprd02.prod.outlook.com (2603:1096:4:1f7::8) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SEYPR06MB6661:EE_ X-MS-Office365-Filtering-Correlation-Id: 148265fa-4ffd-43b2-f63b-08db76f71c40 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eor8qGPwK05CzpM7iWwIfUlopexYW7aOWjMw/z1S4KSslc5SEYTjLQqKgCul3X4UWVQuszTDtsuSEQM1XCAlTT1uUB0sqTVFrhE13A9jpaUbub3iJtGuoeWJOu24+DGsp3U+rj6JnnEISwxcwgZBrBUCY4Q3F+vFqdXC46famkRYyG+e5ZLCHyoo8NiwP0F/yLKOlJOXJqSwJ2xH1xZ7npHhu543X/Rf4gUIgoObLhwDrBFd8ebVovVZx6qxzpaMfovN2O2TeGO1yhv1HovVu11J+RR2UnC9KuGCKDWSlvL9EZI5jy4fKe0mdgNGXGz+myDZxT3MRO15Oz5eYJhxFYTKO4EgpCo6O5F+bdlPmMG0JQhwrbb16NMwodwcx91zRgyc7qa/4k1CLNbBauZIaN5ZggTw7TqK18bm1Vy+JeMksCkn2GZSPIiFL+tIkNIOD6pWHQ3UJcp2Xy0rJFnhfsAndhWQjSO2aVbDLg/WrG7ecfFB6+zy6SjnpKglfLGJ8EELAYrcT9dWIXaE7Xa0L7/sIDKfvaCMz+rQPmh3hLHB4SvmD9jyC7yN7UwvkRfXXz0XkT7/nMkwfJnjDO4YO5uzkOoz/+Don92T1cLFt7MirlgFu9j3DXvHUlxUskCqFdjwX7njO7S+J4P1yph7Hw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SEZPR06MB5269.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(366004)(136003)(451199021)(7416002)(7406005)(5660300002)(66946007)(66556008)(4326008)(66476007)(478600001)(36756003)(316002)(8676002)(8936002)(4744005)(2906002)(86362001)(41300700001)(6486002)(52116002)(186003)(38350700002)(6506007)(6512007)(1076003)(26005)(6666004)(921005)(38100700002)(2616005)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fQTMr7uxST8PlTaK0R0ZATo7dFeZUYQJ9uLrhi0q+b/l4XOiEiVgAWXEokaoRHti8N/34F50FVei4SC5mesPwnbIuT9URHDmn9/nUBSQN1DEn/jVPtrqqHtK+vH8jwGFbLdaVhKklc5YQeX2Jajv4fJIbc/jKoSZ/AdDTHVrG8BF5mpdZVmd81HerLbHB/QPNzFjZtwlkySyq441v5GRJ4ZIKT5mEXjIE/XpoBHmyGJCqzhy+i1kVunzqN+Ek3KZcngXnZLuy5ypmmmvYQEDOm07s7tNOERg8ZDKf1WYlkns51ZvCzcJicTjmcNz7sVtJvr0EJxKUVtKNFBfHOU5AfBtGMxxiEm+Sfjyt/8JoWcCkei5Tuu/P6uKuBer7om5foCOSk/V1dKeHw/1ySBOOcknqPK9A854hpYJ3QHRenrdn1WzROoUIz4SqoiVyFhZJF2j1iAVVA4sO1NrE2OaUC3Y7y+wJKHu15/Qi3HmGClGT1zu9aKp8wyJXAq83WHuZmKx7pynss1WDsgy+8ezA5HUp6JBj/nIAgAS2WD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-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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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); }