From patchwork Tue Jun 27 07:16:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 13294054 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 729FDEB64D9 for ; Tue, 27 Jun 2023 07:19:06 +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=pY01Ve4kFIwyBMQDCjzv0avqb7uqXzuBGwdsrTxq/X0=; b=SV12hAgu2W6eso wdY7nFeultcvksd7U46LL9nhY+TLyEgvP/W5YIS6L9T2kDtMqjBiqGlZ0TrRSdbY+yKxQULEoAOUU FXbkOvBd4r3qZpPA36DAqLqSOuybgzJx+wY5yhHuOtxUY1cvbnQbWLtY/4ojeRdVqVi6SI0/bKUgp qiZ2WCrup/ckhaycIAcWv78s0ICb2HN3tmAIZVf+/yIvb1bVntGDV9Ja8naNa4agjeouau0P3iyyT B1OtKQ2Mp1XkyZSq+3WD2ZqfX3xssNqK4HLfgEgbjX6KdIlUFRhBbsoUzYJIximd6K4Yi7iJWrDz2 9KpX4pnVTLmETLV/Yf9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qE2yY-00CI87-06; Tue, 27 Jun 2023 07:18:58 +0000 Received: from mail-psaapc01on20722.outbound.protection.outlook.com ([2a01:111:f400:feae::722] helo=APC01-PSA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qE2yM-00CI1U-1j; Tue, 27 Jun 2023 07:18:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h+T0drXMnWBkgKTC34AquPqsw3SKVwnB8q8CvFKGkkzTJPOBoZIbutnIx+1GbrVqJojGioh0/93ekeu2DOc2QfAi7ysRdTQHVu/aBRJ0dEvBgqzkFpolq7//FCTBmY/yfBMwlGI7kSQ/TIOPBRuKTEdGxwvIu+E7wRQKZi74tkStlX6Sjs+qkb5eh80Ck0SApjAo3nSM5JrBDUSPhbASF5osRM37VrE5hkxKsxBU0BICI/CTdN0NBJ+I7hcO27xRTSGWvxohHcxfrYiVN+OlCa4epRxrns6fFiU2LhjtTF8b3Zdhf8JUZL2dMxvJiAQbeJhKWypOWo7Ej4pgtVGa8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bKSCwtpw3raL+I80x74ps1+sIAYiMdFVosX+0ajPZMI=; b=TjdFr68tEu5cQnz02qJxdC/irlgqYf5eR6gIe3KHFCwweJutjz6dN1jkT2aqgIHF7FeLIS4b4TF5xjAHhefgtWry3C8q6MrdCsbNdaaFh8JpZEhh63SLuWH30aaTrFv6KFfCgriME6DFj/34J00J/7VjIL29XKIlJ8gDT9uSwLVPLJI17kA2mEZOxZI70WfeWCt9nMjETROTvT+x2+PDHCLDGS7xkXTIoIm2DdAqW54kttTku6COsE8D00o4FyAXkFnow6jfjRLhuou60z2FfBDYFh0HHVU6mOSMbhlsjbLI0uw+pgOLqMYr2gbU6GxK+UuOIZSjAXLlNBqsu4Agpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bKSCwtpw3raL+I80x74ps1+sIAYiMdFVosX+0ajPZMI=; b=CbA4PBK8b5S9lXTR5zkxVZxOwgaLpA1GZ4zOu2ubtCtn4t4EYEJNnXgjDH+MsVYnK3SY5vEbC2wSLS0L5C0M/EM/b0B5JL3WlY0fyOO0QXbLJmJ8ljbdGl5M27baJHbM6/tCLiOJ08QAlW56Wt8iIdfSIVxTeQbotsGvJzniiHcHARyTMp+GjKd7GjQCBzgGwfpxHuIt3+P+Hwz165GDEuFL+jaTc+nC8/rmnW46zH726RmOiRQtmHh82PWPJlbfCLQDb7YRAp1czrIz1Ye8yj+q2A5Wn7YblaAA4OOHcSqR4eH9e1Wb6TueNZref5jflJKnz8/EeQynnn4k8+qILQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SI2PR06MB5137.apcprd06.prod.outlook.com (2603:1096:4:1ac::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.27; Tue, 27 Jun 2023 07:18:26 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6521.023; Tue, 27 Jun 2023 07:18:26 +0000 From: Yangtao Li To: miquel.raynal@bootlin.com, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, mmayer@broadcom.com, bcm-kernel-feedback-list@broadcom.com, florian.fainelli@broadcom.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, thara.gopinath@gmail.com, heiko@sntech.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, thierry.reding@gmail.com, jonathanh@nvidia.com, tglx@linutronix.de, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, srinivas.pandruvada@linux.intel.com, DLG-Adam.Ward.opensource@dm.renesas.com, frank.li@vivo.com, shangxiaojing@huawei.com, bchihi@baylibre.com, wenst@chromium.org, u.kleine-koenig@pengutronix.de, hayashi.kunihiko@socionext.com, niklas.soderlund+renesas@ragnatech.se, chi.minghao@zte.com.cn, johan+linaro@kernel.org, jernej.skrabec@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 02/15] thermal/drivers/armada: remove redundant msg Date: Tue, 27 Jun 2023 15:16:53 +0800 Message-Id: <20230627071707.77659-2-frank.li@vivo.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230627071707.77659-1-frank.li@vivo.com> References: <20230627071707.77659-1-frank.li@vivo.com> X-ClientProxiedBy: SG2PR02CA0098.apcprd02.prod.outlook.com (2603:1096:4:92::14) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SI2PR06MB5137:EE_ X-MS-Office365-Filtering-Correlation-Id: c2e1f1ff-0a8a-4532-e106-08db76deb317 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hjq9ZrtCgIHTwlYnuyhbpwmmX3Hy8e9jgMt3LsPGAohZbaHoDLGtEcnosuuTdGUFHMAzFXkyIWwj92VUHdB+q5UoIrPmRmIK1g85h0jsvmho8aXT+TshJ9VPAJ/+OeAQ8Zzv83W9I7UdwaT/uhWTA4gGfPUc2y8SEV29Cj/WyeXGaZP9IZ+T21ziHymMc0NZsg4Fx3NT6jeSYGU1xGjQ5zjnNZdUBkar452QkzGH14XlkHcqutQR30Zypmf23NuO0K7LjqWnTlexQ4zBNhQ6ACuhPK46zx1Avtc6X3xRdjP6+cjToFywROJaHRpCyl5T0cWq81E21PEO72D9OrAIziO2PB9QIWb2cenx/G8ddr/DmKasAugsXubWFJcw8ulcL+GICaigZCpzmtm9sTKblfW4ikWafQNZPBNxg3exsi0DK88dLv3nPQFGuH8RLb+DtCrJaFklAfmiuzBgAddpLi0AOmDIGOpsPjVdaLZqKVpvnAXXvLUb/uJdAuCLpoPKWYKLG6C2pte0XRbf6LPlXJIyuhcUGMwG4rDg7RVuhNGVpNtpQeHMVwcl7vCIcG8HS6zeLgV/fXan6uupstCazAR7vy1Wtc0ABHxchRMzeyqs+PB9bc9ptPiviHWTd8/v2NIBzNnLFENFkuG/uNgdsg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(451199021)(52116002)(478600001)(6666004)(6486002)(1076003)(4744005)(6506007)(2906002)(26005)(186003)(66476007)(6512007)(66556008)(5660300002)(66946007)(4326008)(7416002)(38350700002)(41300700001)(316002)(8676002)(8936002)(38100700002)(921005)(36756003)(7406005)(2616005)(86362001)(83380400001);DIR:OUT;SFP:1102; X-MS-Exch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Vk2OBtk57xTkZlb+2snTvmtUKjlPQ9KD+Kj7HloXUT18ocWVWJSRy0TvgQSmDEG9iG8yuXCFIL9KcfC5fwCXC1sHQFSLINg2Pj/QudL4NhPU38UwhHfwBNvyIltQc8eJx1XGj3DzTD85qCaHWgaukuZ9LK+eB7NTHc+mK/KXo5wiigTIR6YhjjkvkhqJ+7f1X8Q19MqCqd/AnSfzMOqz1PAq5n/27vS1pT0lxEJU7MfVmLp3jrk60O/YtrjCpKlKhcwiCRKOkKe2rXeLdC6FHEbKOSwXgY7Vofp0TLKVy4Pz3mrNn2+BpzPfESsaaAxVnhMRV2hUFsD2z8g7XVjU3ZV05fiMlU6GuMTTjtbfdIKS0Vfmamvzi4Vll5gUTIBQalaNeDtKQADGqlFj3064e7pMhxPqJGW6yL51UpAqDbwd++XwR2R0elMgDMttCKyvakHvtn9UD9qY4OGFzkUSoqtixkoVk6A9T2CZWFDsNSyAVCMo8j405UVcoRj5rMsgyfSvMVbFJyoQ0u0tYkyWfQASjGuAVHUGwiOpCPWwc+o0+6K X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2e1f1ff-0a8a-4532-e106-08db76deb317 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2023 07:18:26.4364 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hXtJovZyPA+7fsFMszM4FAXRqiXCHulZLsisgZf/xVot9mwnTY8t4+kbkXujeuRaZX+JH6LifdbvuCE6PvMNEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5137 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230627_001846_574517_F83FA400 X-CRM114-Status: UNSURE ( 8.98 ) 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-layer devm_request_threaded_irq() function can directly print error information. Signed-off-by: Yangtao Li --- drivers/thermal/armada_thermal.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 9f6dc4fc9112..98b04158f06e 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c @@ -917,11 +917,8 @@ static int armada_thermal_probe(struct platform_device *pdev) armada_overheat_isr, armada_overheat_isr_thread, 0, NULL, priv); - if (ret) { - dev_err(&pdev->dev, "Cannot request threaded IRQ %d\n", - irq); + if (ret) return ret; - } } /*