Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp443857lqm; Wed, 1 May 2024 05:48:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtA2PljNqBqKWGL2YmPuDsAdAe0j8uieuMyPCwlit+rkdAUUHFAKlx19VSjM2zJTM0BtOdNRM5OWogfpt6oYMP+5vewV2ykGincLQRTQ== X-Google-Smtp-Source: AGHT+IFFPm28hYnDN08DJzpYxIkASk2fBrtFUfLZUaAdCTsVeMHpL/b8hBn258+iyWD+TReR/ylc X-Received: by 2002:a17:907:7da3:b0:a59:5191:f0bf with SMTP id oz35-20020a1709077da300b00a595191f0bfmr1813624ejc.17.1714567717848; Wed, 01 May 2024 05:48:37 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gn36-20020a1709070d2400b00a55b58b4b2asi12832534ejc.421.2024.05.01.05.48.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 05:48:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=h5CxwVB7; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-165268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 525121F234A7 for ; Wed, 1 May 2024 12:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CD8C3FB3B; Wed, 1 May 2024 12:48:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="h5CxwVB7" 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 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)" 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 , Thierry Reding , Jonathan Hunter , Dvorkin Dmitry , Wells Lu , Maxime Coquelin , Alexandre Torgue , Emil Renner Berthing , Jianlong Huang , Hal Feng , Orson Zhai , Baolin Wang , Chunyan Zhang , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Krzysztof Kozlowski , Sylwester Nawrocki , Alim Akhtar , Geert Uytterhoeven , Patrice Chotard , Heiko Stuebner , Damien Le Moal , Ludovic Desroches , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Chester Lin , Matthias Brugger , Ghennadi Procopciuc , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Sascha Hauer , Andrew Jeffery , Joel Stanley , Dan Carpenter 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 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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?B?bHM0M3lBTk1ZS0EwZGVGSnV5ZmlXa3BQUHRyM1poQS9qaXFUdkdKQXhWb2dF?= =?utf-8?B?aXZVTUFjRnljWjVHeGNWTjQxd2Vid0ptdVRVL28wazNWMkx3QXFGYUxncVB0?= =?utf-8?B?NDJqNzhtbUtDbFJXMWpxL2YzQTJRVjc0RU1DZUthN2FTV3BQbFlmcGRjd2NQ?= =?utf-8?B?SHVtOUU2WjkzdUVoWEg5MThvTnlMNFNyK05KZmtkWllQR1BlbUpOaU1iVitJ?= =?utf-8?B?TmdrZWJpcnIwV3ovVWxweW9Wby9FSXpha1R4NVd4Rm5OZmRBb1pPdUQ4Rkw0?= =?utf-8?B?aFpJL3ByWXY3MGNpMUltSzdNeWFBeXpnVjZqWGlHdmFzb1hUY3VHQ3BQZnla?= =?utf-8?B?QmxIRnhWS2pBVVBtejhMZVZ6SVdIMUNnZFpUbVVCdGI0bXJEVzFFZ05P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VhlUC9CbG5v?= =?utf-8?B?MGhUM1hYYTNnVTdhaXduNFovZHhGOG4rTTk0ZmZaOW1IbVVJYlVkbDlUK0RF?= =?utf-8?B?RkZ6MWJoSjd0YTN6d0FIbEd6YWdZdDkvMFdPYk14UWVtTSs1S1RZOTY3NUd5?= =?utf-8?B?clhFQ0phZ0haS0ZtK043bXpyUWp4aFFzWEpubGhPMTMrQVdvbVY2cXVPUzB4?= =?utf-8?B?ZUcwcDBiOWhuUEVMaXJBZE9lOUY2d1RtZFZVUzdCTUwwaUp6dnM1WkprMDds?= =?utf-8?B?NWlWRm1XejI5ZmEyYks4MDJnY2NXMDFXQTMxNUNCU3hrSUF0NkttcVZSdkpj?= =?utf-8?B?R0d2WnVnbnlSVys4alREMmE4ZERYUlJqcFA0K2VUVnEzSHBOUHRuL096NEh4?= =?utf-8?B?V3hHVDFWWUFKZWN0TTY1dFYyekZ4WGsxSVphWkF1U2RuaUhlMk4wL2VidUw0?= =?utf-8?B?NU5zdWo3UmR3cHVKSVUyNU5KUkV4TUZMbXVLZXJRUzN5cnlaYldmdEdUbkVI?= =?utf-8?B?c09EWW9sVDRtTHFZNDUxQT09?= 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?B?dkhtc3RLZmV6QkJRcHcxVmJrb0NqdmplRWJvUXZEdW9iWWN3aUpzWG9nS2Ry?= =?utf-8?B?eCtidjNVSUE4Z3hkc0dYaFc1MlkvUVdZMDQ4MkZqUENnaVlVbjBybDg4L0FI?= =?utf-8?B?NklWOVV5anVoZjg3M1VGNGFXbUVXb0I0SGZaQkNUWnJKTVBvRVppdVNW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cmZWUk8wb3ZxSk50MGdOZWhERzJmT2xE?= =?utf-8?B?YmJveFJTNm1TdDFiT0p0MVArbVFMWTZNUGJOOFkxQUxsdjNzN3lybDlXQ0Vy?= =?utf-8?B?QVBNb2g1TE9kRmlWbFdyUisvcjM1UFEzYVo5UHh5dVM3Q3k1UzFDR0lWczNh?= =?utf-8?Q?ctRtVnYVCq2EKa4s6TVQp6xAq?= 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 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 (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, -- Peng Fan