From patchwork Wed Oct 2 17:48:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Elfring X-Patchwork-Id: 13820184 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 A13FDCEB2E0 for ; Wed, 2 Oct 2024 17:50: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Subject:From:Cc:To:MIME-Version:Date:Message-ID: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=UdzyMxMYg7gx67lxGGSAjs4dqNY3Sz+XDV+9GjFT7pc=; b=TOKWMGLS8Kf8IzBCTnb8MB0kOj uL4fAFg2KKRsbTSlw4KtFAjEwL8AAUuEQTQn1QtmRntnMsGanSUVfhgDpW4dVNjGwo9+XkTBNahZP 7684ioQfs0jbwYj+ayfJa1f9TH0sGKwaMkmv+43u04sv/hKSPiYzjOMLG8GU1ClgmjUfK4N60mO5b mwz+4mOshCfn0aXcBFB9a1FL6HqECMTaXGmMWnlL9O0bayTRZ5DhCVUexz812LnLme9yqjfyIozja RsV8PA5NNwVV2bH8LxNUPqXeb7dOxxBYYk/Wfbhwl9ZnogLhoUwvn3Qg9jTqDt88xD7uaIafCTRR1 aCAmlkjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sw3UA-000000075sg-35GD; Wed, 02 Oct 2024 17:50:02 +0000 Received: from mout.web.de ([212.227.15.4]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sw3Su-000000075nl-3Bo9 for linux-arm-kernel@lists.infradead.org; Wed, 02 Oct 2024 17:48:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1727891316; x=1728496116; i=markus.elfring@web.de; bh=UdzyMxMYg7gx67lxGGSAjs4dqNY3Sz+XDV+9GjFT7pc=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:To:Cc:From: Subject:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=pQQYn6OGZW05p4YIhZwMwfiW2GaOI18myisuc4VIZkKXwG5ZbDb7EkwErVKUSfdv KJJ3D7wy3XfAYRe1Pz6stQ/yshwg4gsRYtdXtskYwNsW9RzmdYmHwVL1ZWsi6v8kB qrT1Cy+DEQI9OePiFW63A2VpJ0mrUMGje/AchxEbKeAIWf9ndlrbM5jvs4o9uijaW +teeZh2nk2QKeay8nohEbsrX0RiYzKzStnhvp4KGeBi2xcWQc9ckfs03HtTuPRRqZ HuGzlM/GfsJqWqa7Hz439vrOWkxVdVBZMnQBRcGj3wftX/1jjlzWU5nn2jmYDxVlt qlPGjZ6duwOc301+RA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.81.95]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mc1ZT-1sJhF50gzX-00bw47; Wed, 02 Oct 2024 19:48:36 +0200 Message-ID: Date: Wed, 2 Oct 2024 19:48:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: linux-arm-kernel@lists.infradead.org, Andrew Lunn , Gregory Clement , Russell King , Sebastian Hesselbarth , Thomas Petazzoni Content-Language: en-GB Cc: LKML , kernel-janitors@vger.kernel.org, Krzysztof Kozlowski From: Markus Elfring Subject: [PATCH 0/2] ARM: mvebu: Adjustments for common code in two functions X-Provags-ID: V03:K1:4/g1cd+1Y+6AxLFJ7Ock4iHC+jweghLSS3bi3+RXZKer5tb1sIj ui7heuFGHq5rlcgcSVmiNe4xqZey2308uSe4fyQQ5o4lryDFz+RkqXgmTa/2CyEFkguACF3 0AJbVmCVIhx/k34CIk43eSDs0V9jP0pRYu2GHGsKXabjVydVmpm7en92+dI1FbyBNLi49+x tSjSYS51N7CkZ0U8sAF1w== UI-OutboundReport: notjunk:1;M01:P0:8brjOrdve00=;rPNprnmRAmHAy8nJldST3i18u94 QcnD7f58Uh2FcAHPJ/3ulWY9ZSO7014kXvV86kgyZjDq/r7wrzEMn6PGvQAvVJk/vW2J5mWN3 KRlfjUO+ELt1KGBvDjd3OdqjMomP0q5iijmblWZLZjMUequhQnN618NKRJnOVHxXYyYutdgoL pDux3qEhR1ji8BaJnGEl+g6UrT2tpk/g4JymH4xhzIyjqGOPaork40v8+lsLIjlI/sZt8fcmm uqUKyrFBUcL6aNej1X0/3KkKc8TcOoivsdQtwjqOoOTYhxI0yMRQlrJ5LR9hYdE5CId2LSviS nf4Fybz0j4xOkO5Lnw0KkbHi/doDwDAE5uvjjJ5Rve+0Qw19Lxht6MwgFJLrgvV5lQn9QDsm9 ieeBkkDyswOeLPCpUJ9GnF86oKpr3VZAsGnLtpRH7N3U7Qk38U5XhOSDmjFQs4rm0w7ZkNEb+ +aQJMBfWoIOxV/5M5Yno2YeR8/8IColHX02IYw/yil9+6hbbGcAIXp4n5TnktHhUrhdqfisdE 257ITkX8HRYj+g11I0yFnNjNWQtajux7h9bzdlbNJPwBhuZoh8MLEWzKGsBY0whJXLNzbSu6T Bxw/sjb7e9g24jibT3hDDAA/roTcNUelERB+NmqWoNVCF8Kv9MJdd1exaPoKKYyd4UoAj+Yic RdZMxc3y01sysXHKJ+UtdaYunel1Aud+ubBSR6XP6yEie2HsTWDUQyzTv4J6KzFT+rhvtX2RY RJIP44TyqXCG4cNn6VMQzv6kpzNmZvsxfESLJyawavNbMrpT7J8j4uuoa2LBeKFovHdVWRkQf T9v6FqptqqZ1rJEXc7Dw3dbQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241002_104845_188188_D9646B1A X-CRM114-Status: UNSURE ( 5.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Markus Elfring Date: Wed, 2 Oct 2024 19:32:23 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Call of_node_put(cpu_config_np) only once in armada_370_coherency_init() Use common of_node_put() code in mvebu_pm_suspend_init() arch/arm/mach-mvebu/coherency.c | 7 ++----- arch/arm/mach-mvebu/pm.c | 21 +++++++++++---------- 2 files changed, 13 insertions(+), 15 deletions(-) --- 2.46.1