From patchwork Wed Jan 31 05:05:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13538611 X-Patchwork-Delegate: geert@linux-m68k.org Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2097.outbound.protection.outlook.com [40.107.113.97]) (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 673703D98A; Wed, 31 Jan 2024 05:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.97 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677529; cv=fail; b=fhKqzfzo5nX39pfizqTh6BBunl632B6SH9geFjojki0PZXw764JicB38P/NcFr1hXfB6cUn/jbsxFGHvtitJ9I/Q5xRNW55ohPNlZCdDPSHl05JqkFx7czO+w3PXsxCXvE2jnVMY1xeysxnDfezGnSmZ0KmTcxlPz+k1Og4CXfI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677529; c=relaxed/simple; bh=8H6bNxS19Je7Ag4n2R0BAapaAxHk75mH0+sV6CttZzw=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=GhY8ImzKxiZoqMOfBDRzLXvcUp21JWiYIJd6x3s2KBHBjPEkq2mJ22j1ZHvVqeMeyrxBkP7wcBxBZtgxhvAEURap1fW4U+OxfdjAt6B3GTkdU7iOr50SIIaDYAi+CNQuZkrOKfH3pZR1ReF2vEngo9y+JVpib6hkTinBnHVpdwk= 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=cLi/K0DC; arc=fail smtp.client-ip=40.107.113.97 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="cLi/K0DC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JwAX+7TUhajhCFvBNHNrmTdxgDAl1HDpigyZlYBTpXdp4TVyq9sgPO6XBs3Knq9G2CzoU6STylHB9IN/+cyw9arhHLzyshdwC+8YcimB8k901FPvLNtl6K9V13KSFnxpUQhnp5moiWeuGeKWwyWgCj7tVVO/NjHYjN2Sa9D6zmMO8ouuyce9IoZ+vTAwRAILHjXOsEN5vMqST6CYe+tYq73pjcW4oiZwpnsYVcOu6nut5AkcePzJSsmPdkKX5CUuHhwKwsODr0+etT+kgGB67iwoDbt+lt2nXAY6F70gjrAcCq0IeJnyhft1uAjEVE3r/TWzoDyn7Ri8Tt4odn2y7A== 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=PlwwnMRHzL9vLYCx+hlgiaCAxZVCKFXat+PBtUg6Iqg=; b=gKWtn2jBvyH5Z7dssWhu6aQBQpjjhdjlvRS3XGfGNkyKLE6pGGLysL6oNe+Wyvfc3l/CyWA451wBliyJAb3MXRtzfchoFz4KeDSlajH1aHzDgWsZBymU2fbq7NvqK6rAgBb6DoT5/lQg3mhmGH16T9Z1pPLW5B1bPqHu0WQ9WzLi+g4ZDtZeoSoVd7VnwhxTpw25TxlG6SjT6sYFan5MBZT2Z238XQ+3/+NVIswdtvgb6lGabAa4LsKEg2cdWo3axzwvMhBjGJWnKV9qpWz8w8zN2UCV+hhkDzsKdf99RqoPET1aKKbvjYuUKZxDMGTelbYgEjkCFfYGZIdIpJ9Syg== 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=PlwwnMRHzL9vLYCx+hlgiaCAxZVCKFXat+PBtUg6Iqg=; b=cLi/K0DC6YTztEEuuSmDXZJg1akdRXdJM40i18hMlx956Sazi1oLtn83LijwPHhkwPKFLGWLiBjp3Lot+ddicCbP7zmgyjoajOdOZdPxk4Sk2T/Ek8CpjKcmJeUn3j/aUnnrEItyBmDisW+117kvHjNIJhGiePlgQ+umYoidzB0= 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 TYCPR01MB8341.jpnprd01.prod.outlook.com (2603:1096:400:15c::12) 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:05:21 +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:05:21 +0000 Message-ID: <87il3a6qjz.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 04/24] video: fbdev: switch to use of_graph_get_next_device_endpoint() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Date: Wed, 31 Jan 2024 05:05:20 +0000 X-ClientProxiedBy: TYWP286CA0018.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:178::8) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB8341:EE_ X-MS-Office365-Filtering-Correlation-Id: 46d3aea8-4748-4d37-318c-08dc221a39ce 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: trPaAcDCMrBk4QT9YWU3njD4I/iZ8kKEJ7m7ZJaGnm/INCdoFcW54hO2ygwku01+U1JuXotqrWgh1qdbq0KQ3gdE4/S3AfuqptMyzIYZVvqB3agJhU7JTpdwcHNirqPNfqkWtkp8eUBzgh0z/KWCfWg9SHNBWENNW5JfAanAlp4q5RoSmThWTpKcBb1FISdUoz0FqKpMBeRZy6LYm6Wzz6UE9Un80wyv1x5mBzrCjfMu/5Ckp4qlE/StaeSn4VzwRMRXCy+jarSVoSd4Eh0Rh7m6Yn6FUe3q8Ne9Qmpbz+JSIOmvhne0jsvOPw8qsawJ1g6MLBXsl8w5kEdqihvLPMxb7pOn6JiM3AqHHOj8Om/13YRAKfnpllvNiveDYcnIrITnRboICoyd1S28+SLPPFjPHJPA46gdftUnW2/yvCX2tJol36kT25U0TzcHtzB5xev6qn1agXbxjOAEdhW9JlDi3Fn+sG6c5vhUI5AM4Jinrf218vUAzzaR5YK/fn4KSPQeClurtLF9kw5UXVX9YXPNpAHIWSmMgnAdXDAOWw5z6iWlk+m2j8WsEQiPjSPOk9R8RyiDNno5+6MOjoxZyURNN39eiVUAgb4cAzMKbWPS0NDeBJl1Vrj+A5zh5biwYxFvKqyQkCAUaiUyYwxg8g== 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)(396003)(346002)(136003)(366004)(376002)(39860400002)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(1191002)(66476007)(8936002)(4326008)(8676002)(7366002)(5660300002)(2906002)(7416002)(7276002)(86362001)(7406005)(110136005)(66946007)(7336002)(316002)(38350700005)(36756003)(54906003)(38100700002)(66556008)(478600001)(52116002)(6506007)(6512007)(6486002)(83380400001)(26005)(41300700001)(921011)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cs0VDo6yQS0piQwIJTjU/814M8oKjZE0OZoglOW8w7So7P2fuzMzTRcYApQ/xJEvxYXySIoq3E2EXr0lRdHWFsC9+yzIJGmNgZzkephGkcGCLDzzYwC7a0cq3OVqskIXtx5AJ6wxjX8BPEvw+j/Vv+sRdcr8cM4gO11a13LS/rZNKCxapMUTvmdpk+fwdWbLf/qySyMxIiieNzJG95SPB3Del9WFlFSTGwuX1f1DR2Sglfrf+9D/wk0nmktchYI/r9HFPZzgd5b8X88b6dMOrhggDQQKmm0qsFRcwQBqBRpQTpQ+2VRQeXxh6vp244crE5uOvg+NAntnE81qjOPshxqN2aUrvZlvKmVmGXV8JvEvDTq+CITnIuYVa+V/xAxbfEP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jbys282ezUELMztubKl0qidEkaBhmxnM/mXag74WI5lQImMA+BXyCaX8aCdadclDRRi49qZ7vXSrbxgnOVvh8uIsn0+DOTVYLYbAn2tYYxApZz5I1UuL8EfnW/kshfsFPyMs9zV2l1Pjv/m1AQxBemy9BpMe28tGm6WiLo8c7V8J0kqEhgi5Fav0H+Q= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46d3aea8-4748-4d37-318c-08dc221a39ce 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:05:21.5355 (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: jLhHr11Uuvt31WNE5O6dTsPxxGK51NTWR97pxiWy8TOaCjZFWKNHlfHy/LxId3onF7gec+pR4fWC5Z9+RPFuRU/xnblE7oVrUIXmqQSTQOsS49hvpaBottpNAaK/PKVI X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB8341 of_graph_get_next_endpoint() is now renamed to of_graph_get_next_device_endpoint(). Switch to it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/amba-clcd.c | 2 +- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 2 +- drivers/video/fbdev/pxafb.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c index 0399db369e70..7778c4a6b294 100644 --- a/drivers/video/fbdev/amba-clcd.c +++ b/drivers/video/fbdev/amba-clcd.c @@ -691,7 +691,7 @@ static int clcdfb_of_init_display(struct clcd_fb *fb) /* * Fetch the panel endpoint. */ - endpoint = of_graph_get_next_endpoint(fb->dev->dev.of_node, NULL); + endpoint = of_graph_get_next_device_endpoint(fb->dev->dev.of_node, NULL); if (!endpoint) return -ENODEV; diff --git a/drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c b/drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c index 09f719af0d0c..a5da79214061 100644 --- a/drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c +++ b/drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c @@ -150,7 +150,7 @@ static void __init omapdss_walk_device(struct device_node *node, bool root) of_node_put(n); n = NULL; - while ((n = of_graph_get_next_endpoint(node, n)) != NULL) { + while ((n = of_graph_get_next_device_endpoint(node, n)) != NULL) { struct device_node *pn; pn = of_graph_get_remote_port_parent(n); diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c index fa943612c4e2..0acdde8b2f45 100644 --- a/drivers/video/fbdev/pxafb.c +++ b/drivers/video/fbdev/pxafb.c @@ -2171,7 +2171,7 @@ static int of_get_pxafb_mode_info(struct device *dev, u32 bus_width; int ret, i; - np = of_graph_get_next_endpoint(dev->of_node, NULL); + np = of_graph_get_next_device_endpoint(dev->of_node, NULL); if (!np) { dev_err(dev, "could not find endpoint\n"); return -EINVAL;