From patchwork Wed Jan 31 05:06:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13538693 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2113.outbound.protection.outlook.com [40.107.114.113]) (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 BBDE33D982; Wed, 31 Jan 2024 05:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.113 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677574; cv=fail; b=ojSUPt9ZbirC5KlKU1mNPRaLc00ZdOIwqUC7UB39QBcvKAYPlFu61WI4pKLhnI3QcpM7lhWr8RaircN+xTduMl174CuiJSWXoPOXlfM4iutEKaU0BEiiUWu7Qm4wrxC/mvg3Nke41KLKae2m1cQEz1ebxcVPCEFeL83/bFEo+3s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677574; c=relaxed/simple; bh=CET4NNS9x0xrj1NBmipKjYii07BBpkfb2J2QESrV1eE=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=qCnkPHdVv+JdrZuB1M1/1kaDhy03Yg3P0dPlxG/DEuiKVfd0/rk6HQftNng27UkOzxZFUoQBjn/odBLXtLjKi3Yzsc/zuWZ86VOD2mIFQU/x/hpNPCduTn3dDnC6w7m+jzX53V0VKAz0Lcsw6jY/UTaOUtfl/L+7FpdrVERuZEI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b=Qf4OCi9/; arc=fail smtp.client-ip=40.107.114.113 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="Qf4OCi9/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bWxxzNMhhbTDq2BYg0a2BHT7yAsF91uBwDM6tGawW3hzjfIyyeeE+Qk+JM8zdM4WiAk5W8qI5VJ8Toysi8x3IAUJm6tPF2ah1KUL6F9rrBncVYVcWqMVkmP8STtnmYTQZvkb073O4NhhM0Mg0TL4gxlkMYNzfrSoFvgxNkonbRNDTmwf8TnVPJJf+Ku7t+hRjiSxIc86Fb33ZoQYxHjfp8fCUFSeoz0falXtDd1ZX3UnQlie039fmG9UUOzGLhEN4CFxWH6MC+BVIQO+QlwKPVMIHIUs2gH1ZfnJTmL6+JEKg8OnldptpKyeTX1zFwGJD+9V1ibz25MOkxpSndg1Tw== 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=DJ7EP/h1pnMoq198Tp9urDTmBKcxftVo/c3f+vS7ZHo=; b=MvjfUCNzZ/paJFs152wRN/vlxwL8OVnP2GXexFzA8EaVePDv/SSuKX3pX+1fLD5i/A5kzAhuTZJ8qRT2Zp9C9Z78zUa9yvq73wugAI0lZbW7Bt6xGrJ2hHHVWo4norgsN6ki8GjM5GU/FBvluyN8TBQypeXjQ6Dr3Xh1sXfbT2kJeWvn5SChRDpKkVvYusmrDo/gRkJ/DTnpoWp/gHgtxvdxqL8ng0DVZxG7L9qYh31HUBc/Jg+K72SrFS83RgQFSxQ0Biyc0CMFdPohlxd8oj7hfEK6GDwWJjG1/0jt0DuhIb6I9y97hYNVINBDWFf61Urz5wFKpYQmSd60b0WPLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DJ7EP/h1pnMoq198Tp9urDTmBKcxftVo/c3f+vS7ZHo=; b=Qf4OCi9/W4aKqnYJm3w3bzBWVv5Th23iR4w/v0NIi2HWXMlNZCo2ZUkWJj5bnWwXI8JV5wxE6hRcY1FBR4i1Cvv/jI+4bqyZjD/kJ6VH4bW4Nzsa59PSThSpzP78Tsn4OfFZMXZnecGeWl6rxREaLck1uGytD3dhf1qd+0+xCS8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by OSZPR01MB8896.jpnprd01.prod.outlook.com (2603:1096:604:158::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 05:06:08 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::ce8:8f5e:99a0:aba4%2]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 05:06:08 +0000 Message-ID: <878r466qio.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: "Bryan O'Donoghue" , "Lad, Prabhakar" , =?iso-8859-1?q?=22Niklas_S=C3=B6d?= =?iso-8859-1?q?erlund=22?= , =?iso-8859-1?q?=22Uwe_Kleine-K=C3=B6nig=22?= , Abhinav Kumar , Alexander Shishkin , Alexander Stein , Alexandre Belloni , Alexandre Torgue , Alexey Brodkin , Andrzej Hajda , Andy Gross , Biju Das , Bjorn Andersson , Claudiu Beznea , Daniel Vetter , Dave Stevenson , David Airlie , Dmitry Baryshkov , Dmitry Torokhov , Emma Anholt , Eugen Hristev , Florian Fainelli , Frank Rowand , Greg Kroah-Hartman , Hans Verkuil , Helge Deller , Hugues Fruchet , Jacopo Mondi , Jacopo Mondi , James Clark , Jaroslav Kysela , Jonathan Hunter , Kevin Hilman , Kieran Bingham , Kieran Bingham , Konrad Dybcio , Krzysztof Kozlowski , Laurent Pinchart , Laurent Pinchart , Liam Girdwood , Liu Ying , Luca Ceresoli , Maarten Lankhorst , Marek Vasut , Mark Brown , Mauro Carvalho Chehab , Maxime Coquelin , Maxime Ripard , Michael Tretter , Michal Simek , Miguel Ojeda , Nathan Chancellor , Neil Armstrong , Nick Desaulniers , Nicolas Ferre , Philipp Zabel , Philippe Cornu , Raphael Gallais-Pou , Rob Clark , Rob Herring , Robert Foss , Russell King , Sakari Ailus , Saravana Kannan , Sascha Hauer , Shawn Guo , Sowjanya Komatineni , Stefan Agner , Suzuki K Poulose , Sylwester Nawrocki , Takashi Iwai , Thierry Reding , Thomas Zimmermann , Tim Harvey , Todor Tomov , Tomi Valkeinen , Yannick Fertre Cc: Alim Akhtar , Fabio Estevam , Jacopo Mondi , Jernej Skrabec , Jerome Brunet , Jessica Zhang , Jonas Karlman , Laurent Pinchart , Leo Yan , Marijn Suijten , Martin Blumenstingl , Mike Leach , Sam Ravnborg , Sean Paul , Tom Rix , coresight@lists.linaro.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-sound@vger.kernel.org, linux-staging@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, llvm@lists.linux.dev In-Reply-To: <87o7d26qla.wl-kuninori.morimoto.gx@renesas.com> References: <87o7d26qla.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 11/24] of: remove of_graph_get_next_endpoint() define User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Date: Wed, 31 Jan 2024 05:06:07 +0000 X-ClientProxiedBy: TYCPR01CA0177.jpnprd01.prod.outlook.com (2603:1096:400:2b2::16) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|OSZPR01MB8896:EE_ X-MS-Office365-Filtering-Correlation-Id: 1706b900-1757-4738-7c09-08dc221a55ce X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZFFIrICwXOOWlyTs7wMEK75qGcXaE/MjZqKNR8rXv9G5fTpqIuhmtOuOSdPh7AfPA+dsQ+nLatuEOXAB9+lGqkKmVPKMdEX3nfwi15Ct15MBQmGK0KhC4EpUsujCd5oG97JaVindKmxmaGuBhK7DEroETOcYSXLxDEW06L12fCNxLttT1+aYLQ9EynX49x3nLrV2OcQGdtVQce8yE8I2IGomV6JlfSVC85PLWiqRSJIWJuIVbjIEPUJv/dTQJqHH7y6379E7Izhs47TQOV6tQYPwbl7SBLXaRkb2PGdRbT8qnt11Cb+al3ntAnXXFT9pQbxMdUUH/qYqzKjbKXUpqay5OBPjqbD0sIJnjcp5oZbPbHKgoFy6SKVZjOIlImWFQR6S6/EZOcC/qSByO49NlpGynzxD0rSdIJ2+8mkKi8kZBhEPw/nWxLh1w/Wy3tgOi+DYxR8or1l1bMAgDWn/llMyY+so2FlkPWtDimZYbGzVUUcDhWRmFVnyrUNrY7lfel+jXw51oVdbDtVZtGFdzhyQpPBx8sSVuGP6Kz1INthzyPT2jP3KhwLRosgOiLWAaLlbtXIkll7yjewE3BMNlIl341GawrtudLRzbf8edGMWdyTxDd+cR0UD4DEjaViKro1O6zpLJ/s/5UPIb/+/ew== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(136003)(346002)(396003)(376002)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(36756003)(4744005)(7336002)(7366002)(7276002)(52116002)(7406005)(7416002)(6506007)(38100700002)(6512007)(5660300002)(86362001)(83380400001)(38350700005)(41300700001)(2906002)(2616005)(478600001)(6486002)(26005)(1191002)(921011)(66476007)(66946007)(66556008)(54906003)(110136005)(8936002)(8676002)(316002)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8BPEJ52NELKLm0xRfBqzFnBsdbWkivNMLepIMWLOqbxo1vSoG8G5+BheKb4OVXC/3f/37qRF4GspVsF66sGKmkArJSfMFhPshGSgNN8nrmVBZ1dc7bbWuD1ski0walqmM1sHt/OavEcgGKmbi6f5tPxkBzWSnncz5C3wvOprq2IZ8V7RxsgYb6aMUS6LGKPQL6jjBKHaWq2VIGDOXEztj5qaPSIC+JMHsV1Y8TkH2H8IHwYl7lFHbavk9nbMBD5YlxFOKWFhlKlUwC0gMoHEYvuVlzNmk29Q6UJL2JiS+AZdDGRp+vAe+dvDaOJR8jxbb+e+S1gKcLqs/Jp4ZMHwH5oc5hc7hn45mjFZlx/6sjVP7PJRFdOOKpwHmQ0mXeKZH7mTX0kPg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qPD+w9duIa1D7NO5Ij7sh5v/1tMzokaBcgH8eJdUgCYoijuWkankKK8FZKZwXom2DIysNXf76vNTkQZN1ZtYLishv/lTm44YN6TE10QwtA8IMLqSMQJjq9a/oeMvNz2zay5tv8ZSBmAEhrEd5wcH50N0m/HnaDgVaxyfZ8= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1706b900-1757-4738-7c09-08dc221a55ce X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 05:06:08.4694 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Gktr7sDU3Kpokgk9Z+CSc09kSoX1iiZvYge3R2Cv/xbNZiZo+/hzgHFRmcXOKVS6nBsgpfj73G66A+r1E7rQUsaaQXjVQrVuMBJFZYsprbqoHplE1Jt9PFbvlTwJYzRM X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8896 All driver are using new of_graph_get_next_device_endpoint(), remove of_graph_get_next_endpoint() macro. Signed-off-by: Kuninori Morimoto --- include/linux/of_graph.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index 80b7a579e96a..f59ce2ea55eb 100644 --- a/include/linux/of_graph.h +++ b/include/linux/of_graph.h @@ -26,11 +26,6 @@ struct of_endpoint { const struct device_node *local_node; }; -/* REMOVE ME */ -#define of_graph_get_next_endpoint(parent, previous) of_graph_get_next_device_endpoint(parent, previous) -#define for_each_endpoint_of_node(parent, child) for_each_device_endpoint_of_node(parent, child) -#define of_graph_get_endpoint_count(np) of_graph_get_device_endpoint_count(np) - /** * for_each_device_endpoint_of_node - iterate over every endpoint in a device node * @parent: parent device node containing ports and endpoints