From patchwork Wed Jan 31 05:06:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13538597 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2133.outbound.protection.outlook.com [40.107.114.133]) (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 B2E883F8D1; Wed, 31 Jan 2024 05:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.133 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677612; cv=fail; b=Qio09bJFMvENlcX6RJVA0FfQjN/FLiJFXjdgwUXauRJZqxJ4FfQUeL8HIbpxTYjgbuUznKUqelvWTQ+zI+VJ4c7Qjf28IMTl+enHZSDHoN471METiPIjQb+05VdoZY+MaYH8XrfXGHy4YjXebh6P8+wH649VmZUVaNH5CMylC3s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706677612; c=relaxed/simple; bh=fjt1hIzjxynQN6DYcmct/6m8EpWhyccnoxQrSvGM8+o=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=golifDIScr5OQyaCTFTtsHhPLYuy8K4FjppaCc0elvDZvf7ttuQZKrYJy1XwNxQOw9L/w/pMhMJOuCu+f+2qxu8bFiOCf6cS/P4CFDWHI5XVxSPOgUl09jF5KX86GY+M4CcbXNTPC2/3WwoUfRNtN0kDjrkV4nYTvrXPZrShFJY= 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=HfvF3xrl; arc=fail smtp.client-ip=40.107.114.133 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="HfvF3xrl" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GHvuYQ6BO92GSWJ2R8IhLxSfDuAHoFdE876CFvHiaBJCFKuiYz97vgJtDRtT1jornV2bT/FhAjG142Ij4qGIp/eii72z0PNpXEULTH4H2LWiH/K0CSL4016VChGBRBIJ2MERku6JSkPawl52KSdfpvn4THGSE+k2h0kojRVXXp1VYyJkVX0y7GU2GO5JwLKHSFiVh/fiidZmbJlBeSzjezxBWULVoBvTavwcSiqDXIS1jT3EK1JhBEp7ttwGB08oUbWdhfrPG8E9ofAc8UjvI2GOHFBoTsW4sN6FfYr9tBlWns2OFz6ZYA0oOlXPxdYzqKX4y9zir6oGFBhX5CM5Iw== 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=PgYbbocFkaAShrcL0owjbp83TvFp0fVYCSDBvhuuSW0=; b=mvQ+3U0POpnHOPKYXgXhmMjGjt5S7RvVlOfjD4POK/7SX4IjlIIdsDE4te1EVSfLva6O+waaxX7aMhQ2hsVQxyocPcnX1NK6FxiWC+jWpRH9BYa5jOjxCrSDzonBDHRh4LPcdRN8KG+jh1h0OvIUlStgEKXPkSiqyrV6O8D7iouG6dQ32TedrVXDI0JQ2bBrKySxoaQ7MbxJIRb9ek8FGvQgISfDHv40OzXGtUYOFyoG+6/k+Jygge1dq9w/9dsDkjPt6pfYCc7d1LUgZ6JZJlJC3cISaF39gAzgMsLQP0QUcso/V9+qhODACo5dMlOL46Ypn0OpOKgzeH33NOY8zA== 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=PgYbbocFkaAShrcL0owjbp83TvFp0fVYCSDBvhuuSW0=; b=HfvF3xrlEY4NdJlQ9jQW29Jt3eWcQktIttNfhHAoAIpxUe3/vIFC+KOQ2SCrmTP14BWIsLieSuqXSw5zDTApXdaeh9/xC09eCTnPSa2cW29Q8hmBDekM2b2voEVtUeEiD0KF3GYGWe1yVN5hc/H5bY4izBEhug+zG8N/KfOTygM= 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:45 +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:44 +0000 Message-ID: <8734ue6qho.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 15/24] drm: omapdrm: use of_graph_get_next_endpoint() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Date: Wed, 31 Jan 2024 05:06:44 +0000 X-ClientProxiedBy: TYCP286CA0124.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b6::6) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@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: 9d3981d3-752f-4c5d-dc3c-08dc221a6b62 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: pnfbZdptg3pmLFt6rl282xRnJKqP9SMxQcJh2myX5YBk72b+7+Y5DVtLh+ZwDhyb0Z0vJjH3zJANB64DgqRo9qTMVP0GMuZ6LowMGLHH3TZ7886NBtqLHmqot6icZCz8u69Xc9899wyriR7VQJazFjzFfE7OYu+W8l0GQmnxXZ+rkr/zeFVZkGj/l+xgJv017NjK4ul+9veWxeltuJYC5ii33VvjGChWIFIwT4Rr0P7hGRRBdYjJpEXY5mdxFlCKhhxLQEj4A89ptkQ9CEoUzJU1MuU0VYQbeG1uKQkc/e6kydvp9ZC3e/jO5xoRfwEoyAR99tL1dseefNYIACgMjW14eRUPOp7udrp+m918xhyHVRPsKa/VN52mT/fBYNVqE4CxpcMUBOso5ZV7CFPHq8pkhAnGrO4uoemK7+TP6JQYv9qof/bwFZ9WfoofhzF3GCXHdjm1UeQ2ZVZm7zyp+ZR4VZtLt7tkp6Xs4J5cLjFioNv7qpCyvortbXL8BOZRaf/XUVetyJfPp7J/OXwKuFUZDfuY6Y9BSyJ0N0wgevWjATWZq87o1wbjLjHTfMH75n81N0pKm/KsxiXRg5iMb62YIQmF1uaz55JCoAlsEBUmQvCX6XAsSf+0bhaIzv2VaGLce67Ngu3kVOOopTyQeg== 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)(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: AFcBt/Pgcv7LuaQKjju85tTxT67dsJoHh5ptW/67AIE9N14UgNVfJ+VRTg92Z+DEoLvmLGpK/BhkvLynwq9lPupgQu+IbANUl+8RpvbH9I/SBtUGMloG6ZwByd0O2ADSqaC0TWKXWgNAX9tscom2H2buSsdxrfaLQecmVONdQaxPwuNngai2q/X7T3ZTiTfKfkxPO/SywArudorsgAHDD3Qik2Q2GtIbecDzMvFaEGTw4AqUmrawmCbGjHx4QuNZJ1Qjho7vB9SXP0IRlhsh8ypT1hznBzdNEgxpImltJ59E47ZUq81xFjoh+HaZy09WUSU3mgi7cOyQBFLov5HYy1IW0iaUL3nR0wIzdjQsKJTHicGhRvMT8pO7mmSefX64Aw8buPjgM6MLHw1vhvmgYlOlcpVCcMibg5Sr0uzC2HBi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17WfLAwoK/UfBREx1vZFHpMsitSLjNLrI9iSC6vczRaoeKKJRYFrj3A4ccwe86Vkezi9U286OAAHplx4pGqj4J8xeGATje1xnnA0kwZJJPJrYyAa6ZI3oEzdAJESagNZACFiQV3nQ++1ENl2c8Bb0K8U= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d3981d3-752f-4c5d-dc3c-08dc221a6b62 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:44.6975 (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: HB6DGeM6sp9iLOozMTLlMV3HSMCD68gO5N/gaFGGozp5t/U0uYoC2/aXIYUl76AYTG3QB4PM+GrXewigb5SsjSOGEr33v2Yr1Jrsjq9XkkafRWi2d+XYarLpTPZ1AhL2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8896 We can now use of_graph_get_next_endpoint(), let's use it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/dpi.c | 2 +- drivers/gpu/drm/omapdrm/dss/sdi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c b/drivers/gpu/drm/omapdrm/dss/dpi.c index 030f997eccd0..74d240aa35a6 100644 --- a/drivers/gpu/drm/omapdrm/dss/dpi.c +++ b/drivers/gpu/drm/omapdrm/dss/dpi.c @@ -709,7 +709,7 @@ int dpi_init_port(struct dss_device *dss, struct platform_device *pdev, if (!dpi) return -ENOMEM; - ep = of_get_next_child(port, NULL); + ep = of_graph_get_next_endpoint(port, NULL); if (!ep) return 0; diff --git a/drivers/gpu/drm/omapdrm/dss/sdi.c b/drivers/gpu/drm/omapdrm/dss/sdi.c index 91eaae3b9481..6155e99e64f6 100644 --- a/drivers/gpu/drm/omapdrm/dss/sdi.c +++ b/drivers/gpu/drm/omapdrm/dss/sdi.c @@ -346,7 +346,7 @@ int sdi_init_port(struct dss_device *dss, struct platform_device *pdev, if (!sdi) return -ENOMEM; - ep = of_get_next_child(port, NULL); + ep = of_graph_get_next_endpoint(port, NULL); if (!ep) { r = 0; goto err_free;