Message ID | 20240501-pinctrl-cleanup-v1-0-797ceca46e5c@nxp.com |
---|---|
Headers | show
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2069.outbound.protection.outlook.com [40.107.20.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6215B1DFF0; Wed, 1 May 2024 12:48:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714567707; cv=fail; b=Cmir/aSQ76uG8yo5PToGrGsriBu1N1A7yfd9L5N9/xKZIBlxpqDYUTneE2lzomuGhOe863OmNXmdAJ4Y2Rhf2pA/hxlQMtgzgcx5/jCO5t1uMr/vbhUt2d2twixaoMktgqh22zg0fg8xA/Fs2pOU7ULOofxvKm5rsmErAE0ek5A= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714567707; c=relaxed/simple; bh=IyfPTwFVEzo24z2kaM4hGZV69mP/5OU+suHWnthYN6g=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=dbGEjMAUD1E7zEoNEVzJ2ywjoKhk23ROE+VfvWhQZRX0DwN9YdpzC0mIyneCZStM+9XsrMmw1MZ9D5YUF8jEFwb4UW9jIoX079GxGkImgNP6R3xhpU/+rNeCuJg7H7/oQA9F7SK5ExtNJwTJVVT8UAz9G6kRd7veqrZegKR/xHY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=h5CxwVB7; arc=fail smtp.client-ip=40.107.20.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="h5CxwVB7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LJ+9y7i5lwHrUmnyagdk/xwDjFF8pjyG6jbJay788R9xVITdFdfwSokBWc9XCDjZDtRkrIkffunStOkAgbZ28+rtlXXYGtATBlVYlxX3mcdUNAZxljfq2FlmGA+0IOfSNNA7Q3f7BRWRaap7a+JLEoyZDbo1U2eKI+61Gq2T1T5xkHhjrW5IGXzNzW2xUzUNXoAwqYRh33ebJBEYsLUYVKk7wuS5XomERjCwwRMxhvZIGTwp79HEsJfrpFgd8OMOmVMb4mZttft+CT7+nEJNxU+EcHs/ETnOPOXXpEW76vOd4O6Zbsq4yx3ubyFfxb2yuh6+uatXTQC30zRAUBLOtQ== 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=43WBOLHBShaCW6P4YkFRu1xyT+0F/A30thFBkWgwGGo=; b=leF4neWxREPr90zZGYnv5fYDO+pjjdrEDHgOQdhYB2tywOCWgkZMMWn948WEMJ5jGkC/7YgDNsvoI/RhG8sg1clthvPkiHxl0HHXU/dggP4rzgVI3GSaFNCQ0O9fBSLk1+PbbemougKQPEPlu9CIdgzHwRzlPj927skgRt0kaljG/GYP388KOvpDhGRBKpDvMaAelyzakp8oMnyUkATYAWg5ZXWfJwoSWRfvWBYn6l1dzxqLJbpJ+5NaovvSytZ4wRTjX5mPFvuXhcJy5rf8jKebp/nArWgLYSb9IdDH7OEXYgAcPq7NwyLTMdCViBqA3vhO5JhlIUWWKlMsW6UWtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=43WBOLHBShaCW6P4YkFRu1xyT+0F/A30thFBkWgwGGo=; b=h5CxwVB7Bng99/4OZvbjIP8TC9alIlC56nKEjTTaLyec4rSc+IcOdhI9gNo35jhyFxVrbiEw/FrpciKbwdSvnV6cbQnTg8Ml+SDBqVUE7rnAL4Th1USb8BnQ319gSF5uBjxUiAuPXQAQu6cCAzD6LWMqAVtv0Qa96ndE4mVZyKE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB9PR04MB9284.eurprd04.prod.outlook.com (2603:10a6:10:36c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.36; Wed, 1 May 2024 12:48:22 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7519.031; Wed, 1 May 2024 12:48:22 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Subject: [PATCH 00/21] pinctrl: Use scope based of_node_put() cleanups Date: Wed, 01 May 2024 20:55:58 +0800 Message-Id: <20240501-pinctrl-cleanup-v1-0-797ceca46e5c@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAN47MmYC/x3MQQqAIBBA0avErBNqGqS6SrQQnWogTLQiCO+et HyL/19IHIUTjNULkW9JcviCtq7AbsavrMQVAzZIDeGggnh7xl3ZnY2/gmJypFvboaYeShUiL/L 8x2nO+QM4ZoccYQAAAA== To: Linus Walleij <linus.walleij@linaro.org>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Dvorkin Dmitry <dvorkin@tibbo.com>, Wells Lu <wellslutw@gmail.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Emil Renner Berthing <kernel@esmil.dk>, Jianlong Huang <jianlong.huang@starfivetech.com>, Hal Feng <hal.feng@starfivetech.com>, Orson Zhai <orsonzhai@gmail.com>, Baolin Wang <baolin.wang@linux.alibaba.com>, Chunyan Zhang <zhang.lyra@gmail.com>, Viresh Kumar <vireshk@kernel.org>, Shiraz Hashim <shiraz.linux.kernel@gmail.com>, soc@kernel.org, Krzysztof Kozlowski <krzk@kernel.org>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Alim Akhtar <alim.akhtar@samsung.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Patrice Chotard <patrice.chotard@foss.st.com>, Heiko Stuebner <heiko@sntech.de>, Damien Le Moal <dlemoal@kernel.org>, Ludovic Desroches <ludovic.desroches@microchip.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Dong Aisheng <aisheng.dong@nxp.com>, Fabio Estevam <festevam@gmail.com>, Shawn Guo <shawnguo@kernel.org>, Jacky Bai <ping.bai@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, Chester Lin <chester62515@gmail.com>, Matthias Brugger <mbrugger@suse.com>, Ghennadi Procopciuc <ghennadi.procopciuc@oss.nxp.com>, Sean Wang <sean.wang@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Sascha Hauer <s.hauer@pengutronix.de>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>, Dan Carpenter <dan.carpenter@linaro.org> Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-samsung-soc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, linux-mediatek@lists.infradead.org, imx@lists.linux.dev, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714568179; l=4319; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=IyfPTwFVEzo24z2kaM4hGZV69mP/5OU+suHWnthYN6g=; b=wvYOzMQlK+V3QNdBci62tslKevnd9heITV5TEKTEiTMDoGX0bO7hnWCp2Gaqs27FM4LKoOf0Y GjStCF0Gvp5Aiq3nL65lIZJOsUWU/RFRczxzPsGRZuEZYPWKUbYcUk8 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR02CA0064.apcprd02.prod.outlook.com (2603:1096:4:54::28) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: <linux-samsung-soc.vger.kernel.org> List-Subscribe: <mailto:linux-samsung-soc+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-samsung-soc+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DB9PR04MB9284:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a33ebd9-bde8-4741-2ef1-08dc69dcfbac X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|52116005|7416005|366007|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ls43yANMYKA0deFJuyfiWkpPPtr3ZhA?= =?utf-8?q?/jiqTvGJAxVogEivUMAcFycZ5GxcVN41webwJmuTU/o0k3V2LwAqFaLgqPt42j78m?= =?utf-8?q?mKClRW1jq/f3A2QV74EMCeKa7aSWpPlYfpdcwcPHum9E6Z93uEhXH918oNyL4Sr+N?= =?utf-8?q?JfkdZYPGPemJNiMbV+INgkebirr0Wz/UlpyoVo/EIzakTx5WxFnNfdAoZOuD8FL4h?= =?utf-8?q?ZI/prYv70ci1ImK7MyaAyzgV6jXiGvasoXTcuGCpPfyZBlHFxVKjAUPmz8LeVzIWH?= =?utf-8?q?1CgdZTmUBtb4mrDW1EgNOuZQ3h0ezzv5Inw47hiBg6bwGYOmyavSBPUG3KSUXkUCY?= =?utf-8?q?gzxNuh+KBu53WTCfD6ekbUcYvv5PR/NnZf54DK0jU2YNDXk8choAEeMCp58lIaEHm?= =?utf-8?q?NvhQIpAuy/3jBpecfS9+Yl7KcwzgXPPKxqTUk6u5C2zavPrwE2yEPwDgmzYfQMF6S?= =?utf-8?q?oX4pf1DEBvHkX2oZn/I3XIt+b6VC42GlN1QtsB6qhy6iNALXCTQNCB37sDjnPRXAO?= =?utf-8?q?xzbkDK+b2YkeFr9QmnmJsEpfJveJbbAdi7hG8FWbbXLCkSNlrn/ZKZIQUyQqhERUP?= =?utf-8?q?s6qjsnAGEl6tZ9nJPWmAqzZ45zBz5ILXCisN6W4rhOaQFoCAwpIv1mL8Q1vASX1Dm?= =?utf-8?q?G58+qPlLPUrwtSSC5n5zhTn7jkn7y6NNQvw0fu7sB//92vzUj+nDmv4znDO99Olrn?= =?utf-8?q?bK8x4wdzvsCGRw4VATwIGJKlvtS5imqJo0B2rxRyTNLkNH7COwPjMd4im8QeO7D96?= =?utf-8?q?YMdse5N92qlbE+MFZnPw8nQoW0Nyy8CI7pz/YBaDKU92kXwP7eiLqIBKdZveVgZEB?= =?utf-8?q?9hGUtZNqksidVXdrLiK1oj99UiF4VVCStLNQctuwXc3IWTnJfO+1ZlQvVtqtOUxwc?= =?utf-8?q?+KgNZ8Cs70IwmH4to4nqXQzUieA/hlRf0aVl3Je+1XeP/Blno0hT3XXa3gU7aiwn4?= =?utf-8?q?Z/dxF8n+M94ffZ9mHmUIbUdl9T+DEFFz1bhJ7ta3zwAHlGzagYt9/0WObMxQemM+5?= =?utf-8?q?KTY9675GyrXECJagHZKFm+N7mzrQjxhQsXJnlhO13+AWomV6quOS0xeG0p0b9hnPE?= =?utf-8?q?LirAdOe9F6wTmdVUS7BML0iJzvs5ZJk07l5iVFmWz29fa2bK802gccW01WA315CBS?= =?utf-8?q?xkIAt6KmqVRvJcGGvZugnyRW+8jTD2a8dDXRRjpP4+eTVq3HpNPtn/Oz4HxWxGT1V?= =?utf-8?q?YAJectM65tV2zFxXk1IZaZAuSdniHe2N0/ebuL45Nsuj7RdwpuJIU25NJRExMFLmu?= =?utf-8?q?KerQS3yryZbWftGTnEHsODYolT4mLqY451A=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(52116005)(7416005)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?vHmstKfezBBQpw1VbkoCjvjeEboQ?= =?utf-8?q?vDuobYcwiJsXogKdrx+bv3UIA8gxdsGXhW52Y/QWY0482FjPCgiYUn0rl88/AH6IV?= =?utf-8?q?9Uyjuhf873UF4aWmEWoB4HfZBCTZrJMPoEZiuSVWcjXaB76TTZ7M89CyctGOaAIYE?= =?utf-8?q?kvmUjdmPO3Dtq6+JuvB2Bo3E6G8KFsX51O6/2GXv4+Rqmft6ykoaeEpovSM+cSmCo?= =?utf-8?q?qw8assqd9gpPu9x8iRn4IXNBa/NIf0y7GU0VcEBDJhl/0IpNmLDXlCmp3ZkExzuzV?= =?utf-8?q?UmNzWPMwR5Y10HtbejbGG7IGUn0K90FDKrWsIToRBwOCoc3Qq0+ATxM20vFqH/6JC?= =?utf-8?q?3R4i3Wq79NDKMuF2aBYkl+dDbIj+B7how0rNEJtDy+KAIivCxDivAv5yYdV3utoFf?= =?utf-8?q?jsv2LWaCvNmcj+4vCVrjYqzfqkFklEGulbRRcea3/3tD1pxMi2Ge3LWMzX2CBDenQ?= =?utf-8?q?5b5dBgq8v71fSpg3nQShvmllCvKy3zgHGglwrMLEikSnLbUNH//m/J5PsyKEviZmo?= =?utf-8?q?8wkMRMV1sQ9I5+/OpQShAB14dDXn5LQD4ylV7OS4rvptRNVBvEOPxT0e+NxjEkfkW?= =?utf-8?q?/VdnZtzbGP0tVvYOSmr35kgGmXO42E+Vime5yrJBEQWcxXAL1nqCvVyvxw4jNrVyK?= =?utf-8?q?P0S4k1SvXUztfFRNVyE+tn03mNFQ66Ryc06fIKKX93DZxzcEkkty8Ot4yFN3KocLD?= =?utf-8?q?obxPwOo+1as3o63GnxNs4IPKFll20wfavH+jjW3hHQLXeCBIM4mV+vo8bvY/3BYjh?= =?utf-8?q?q1Zca0l+JCqeBByvBdqqv2VtDi6om99Vtm/QFDIqtXD2CFmtxPrKQHjryC2/z82sv?= =?utf-8?q?0+SVYqrgQ2ZeES3JE2a+4F9QEc1UvnbvZ1A4HAAPg+byhIYnJE6D4TTDjubs5OcWf?= =?utf-8?q?JhHQMjBzF+wOFSA46xMYwFxeb/PnrurVMgHB0DhSU1en8IsffgNom7UZ10QSEg0to?= =?utf-8?q?DjmJcalvVRBPfculTjExK+CPeMFcSICmbfHhGj+VM8hS0RzNEDc8exZTb9mZcNloe?= =?utf-8?q?PwvMbxXv/IjdYd4Hi1FvJFgUz+DGNRK4DMIHnoOEhN3Akr34t4PlA/iP2vfuP77mc?= =?utf-8?q?PSNdu4MmA10zLyk9sg16u0vwEAQw/mjSsvRNQtkdjp4wrwjifvZ1d/gIdOVV9pjMu?= =?utf-8?q?iFlqeN8fTIX9PhjG/DlIwqNfYCc9Oie9d1/7ESQbpoR5f8+pmjX4qY72RK1tak5Ey?= =?utf-8?q?uWB1ciLWf/GB7Xgl7gD7TjEMq8eKdUrVp9tsIdv/ZgbLm6h75wQeMaMbfhQGDeTxm?= =?utf-8?q?azXDV93k3O/WBMzyykDT4G3WmZ5lZ9NbBn1yluqIETOxapPl1HOvpPRxEov1FTDLe?= =?utf-8?q?ZgIHTsZbNbKea+ru0jXDADtAFgMa1rciREz5LH379R4gZJkv2C3xy1yNACs7xRKZ7?= =?utf-8?q?zQkrfVRO0ovqJNt0gNehDG2fOlDbboxRS6mSt1bOJt1P+mQLY6MPbN8Y1ALlv3s7y?= =?utf-8?q?rl9WCErAPMoh5LOdFiVlWrR+/r35PQ3aZ9PxyuS7Cy5S1CGIVs3actRtVnYVCq2EK?= =?utf-8?q?a4s6TVQp6xAq?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a33ebd9-bde8-4741-2ef1-08dc69dcfbac X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2024 12:48:22.1020 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1lvLDoNZVoUwS1KHfyGx7YqzB1CSKQxhuDMb3RVmPtSHU4wRj20253jXbl/3SqtMS0kZNIYPK2z9k1Bta8v7gA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9284 |
Series |
pinctrl: Use scope based of_node_put() cleanups
|
expand
|
Hi Linus, > Subject: Re: [PATCH 00/21] pinctrl: Use scope based of_node_put() cleanups > > Hi Peng, > > thanks for doing this! I am very much in favor of using scoped management > of resources where it makes it easier to do the right thing. > > I agree with Krzysztof's comment that we should avoid scoping in cases where > there is a clear path grab/use/release so the code is easy to read already as it > is. Let's drop those. Yeah, will drop them in v2. > > I saw there was some patch that was even a fix, perhaps I should pick that > one separately for fixes, but probably it is non-urgent. Not urgent, I will add fix tag in v2. Thanks, Peng. > > I suppose we will just apply v2 after people had some time to look at it! > > Yours, > Linus Walleij
Use scope based of_node_put() to simplify code. It reduces the chance of forgetting of_node_put(), and also simplifies error handling path. I not able to test the changes on all the hardwares, so driver owners, please help review when you have time. This patchset was inspired from Dan's comments on pinctrl-scmi-imx.c, thanks. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- Peng Fan (21): pinctrl: ti: iodelay: Use scope based of_node_put() cleanups pinctrl: tegra: Use scope based of_node_put() cleanups pinctrl: sunplus: Use scope based of_node_put() cleanups pinctrl: stm32: Use scope based of_node_put() cleanups pinctrl: starfive: Use scope based of_node_put() cleanups pinctrl: sprd: Use scope based of_node_put() cleanups pinctrl: spear: Use scope based of_node_put() cleanups pinctrl: samsung: Use scope based of_node_put() cleanups pinctrl: renesas: Use scope based of_node_put() cleanups pinctrl: st: Use scope based of_node_put() cleanups pinctrl: rockchip: Use scope based of_node_put() cleanups pinctrl: k210: Use scope based of_node_put() cleanups pinctrl: equilibrium: Use scope based of_node_put() cleanups pinctrl: at91: Use scope based of_node_put() cleanups pinctrl: s32cc: Use scope based of_node_put() cleanups pinctrl: nomadik: Use scope based of_node_put() cleanups pinctrl: mediatek: Use scope based of_node_put() cleanups pinctrl: freescale: Use scope based of_node_put() cleanups pinctrl: bcm: bcm63xx: Use scope based of_node_put() cleanups pinctrl: aspeed: g5: Use scope based of_node_put() cleanups pinctrl: pinconf-generic: Use scope based of_node_put() cleanups drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 6 ++-- drivers/pinctrl/bcm/pinctrl-bcm63xx.c | 4 +-- drivers/pinctrl/freescale/pinctrl-imx.c | 31 +++++------------ drivers/pinctrl/freescale/pinctrl-imx1-core.c | 19 ++++------ drivers/pinctrl/freescale/pinctrl-mxs.c | 24 +++++-------- drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 4 +-- drivers/pinctrl/mediatek/pinctrl-paris.c | 4 +-- drivers/pinctrl/nomadik/pinctrl-abx500.c | 4 +-- drivers/pinctrl/nomadik/pinctrl-nomadik.c | 4 +-- drivers/pinctrl/nxp/pinctrl-s32cc.c | 31 ++++++----------- drivers/pinctrl/pinconf-generic.c | 7 ++-- drivers/pinctrl/pinctrl-at91-pio4.c | 7 ++-- drivers/pinctrl/pinctrl-at91.c | 17 +++------ drivers/pinctrl/pinctrl-equilibrium.c | 21 +++--------- drivers/pinctrl/pinctrl-k210.c | 7 ++-- drivers/pinctrl/pinctrl-rockchip.c | 14 +++----- drivers/pinctrl/pinctrl-st.c | 40 +++++++--------------- drivers/pinctrl/renesas/pinctrl-rza1.c | 14 +++----- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 10 ++---- drivers/pinctrl/renesas/pinctrl-rzn1.c | 23 ++++--------- drivers/pinctrl/renesas/pinctrl-rzv2m.c | 7 ++-- drivers/pinctrl/renesas/pinctrl.c | 7 ++-- drivers/pinctrl/samsung/pinctrl-exynos-arm.c | 3 +- drivers/pinctrl/samsung/pinctrl-exynos.c | 16 +++------ drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 8 ++--- drivers/pinctrl/samsung/pinctrl-samsung.c | 26 ++++---------- drivers/pinctrl/spear/pinctrl-spear.c | 13 +++---- drivers/pinctrl/sprd/pinctrl-sprd.c | 14 +++----- drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c | 27 ++++++--------- drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c | 18 +++++----- drivers/pinctrl/stm32/pinctrl-stm32.c | 7 ++-- drivers/pinctrl/sunplus/sppctl.c | 4 +-- drivers/pinctrl/tegra/pinctrl-tegra-xusb.c | 7 ++-- drivers/pinctrl/tegra/pinctrl-tegra.c | 10 ++---- drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 37 ++++++++------------ 35 files changed, 154 insertions(+), 341 deletions(-) --- base-commit: bb7a2467e6beef44a80a17d45ebf2931e7631083 change-id: 20240429-pinctrl-cleanup-e4d461c32648 Best regards,