Message ID | 87sexcs7u8.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Headers |
Received: from am.mirrors.kernel.org ([147.75.80.249]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <linux-media+bounces-13359-patchwork=linuxtv.org@vger.kernel.org>) id 1sJ0iP-0002aE-2e for patchwork@linuxtv.org; Mon, 17 Jun 2024 00:59:23 +0000 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 727F51F21A8A for <patchwork@linuxtv.org>; Mon, 17 Jun 2024 00:59:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A61D3233; Mon, 17 Jun 2024 00:59:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="TfZoGzqn" X-Original-To: linux-media@vger.kernel.org Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2073.outbound.protection.outlook.com [40.107.113.73]) (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 0796DBA47; Mon, 17 Jun 2024 00:58:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718585940; cv=fail; b=DGi84xgo8os20nRwUrLP6PLgeXhitDD2jAvIk96qFg+kqg3Bl4Q705AOP3pe/gH93wT1zZiG3NlVt1HE/q9YTaJT+4mIP16VClU4aQiiplmWRN6NjKGxCnKXZR2zscoM16/nP8dpLtyfg8zt7LC69fxvuGZTPkPKxg7u+YoD02A= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718585940; c=relaxed/simple; bh=APMP0vYrATNc/AwnIWuAiFEij8eWJy8DkbOGc5xhMSc=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=Lxcby8nq2Pi+K9zyzobBzaLsvkCeAtvxUi5owEpyNGH3PtKZxvdWCEuLO5M+KIOHOhOE8v0Vfi8YLhQrc/wFV1KM2GOUTzhPwr9jvLqWX1COYP1W395KT/msLjBl3ZhSy0HMFhZN+LeavdGPs2T0MlAGiTAfUWJqcj0X1HR6Cwo= 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=TfZoGzqn; arc=fail smtp.client-ip=40.107.113.73 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j7SOa4H2TMtvYcU6NY/i8vSNlhHdvF7KHFT6DsKwGITew+kf7mnsF+v/USrynLhcNf8l1DNuA9ScCPj1h8JIn1hSpEnoa/BSCajsA6x35Is7t/IetA9DRbdiRiAreogiL94KET8EUjluXBTk160Lt+PBTsLApwUj526k3CZf0BQ7JsYcTbqm+ylaDxlBcPUNYWDz6uErEh7cSybKJIExZ0aJvKkVLlxVF4rcQ9FObsNgOyUkaUwIyQ2vv00HUCGsF0pzWqC/UboGLjWJgt4EFZGO3+Wv/dtFfdIbdNic5q/fNMoMJMl8eh1I5+0U31zxCEgizqlBlxwF4tNk9c5uMw== 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=q/hA+X/NDL2DHVcXTjFOx498moK6jPHb9pGdUrBCLk4=; b=FfV4CCvBozANc6QgbSeYcLFCyvScLJaDUbtVTvHy4zpht8kIvvC/pAoUCRXByTramtI30APZSF10wEVnsj634pcfnVUXwNmwDvBnhSZNNElNPY57/uzocTqUHwNuSYZK8FdGhbn/hbFmhz16A5sXLNsXsbK75Kf3QR1g08M6v6by8TzlGWGPvn355ik6WDAiwVXDEwOnpMQLiS81weooRo8QibIyHxBeplEKrbyMDvApBBpKoLQGix7qHNmIMBYuIvR6r2o0wgqEH7Oo7Nf44mGYiagqI/VKEhTh3y6+odby06SRVAVuoC5c4icd9KSlEUa7MljT8PK5696JQUylTg== 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=q/hA+X/NDL2DHVcXTjFOx498moK6jPHb9pGdUrBCLk4=; b=TfZoGzqnf+hOfiDE65p9ySrzzFergUbD1tbXuN2NOiBf4/WEDhsKNilBHBFH0cr6wYmiEOIzT6lAGTu2TkxUAX/wQh8uhx9SwobS433TRHcdX11ojJzjE/FK1tDxTX2y1NysdjU06VNuNO9uMLGIdoXOK5xFNOujc4+xu4mdTKg= 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 TYWPR01MB8560.jpnprd01.prod.outlook.com (2603:1096:400:13f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 00:58:56 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 00:58:56 +0000 Message-ID: <87sexcs7u8.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v4 resend 2/9] gpu: drm: use for_each_endpoint_of_node() To: "Lad Prabhakar" <prabhakar.csengg@gmail.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Eugen Hristev <eugen.hristev@collabora.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Helge Deller <deller@gmx.de>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <mripard@kernel.org>, Michal Simek <michal.simek@amd.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Rob Herring <robh+dt@kernel.org>, Suzuki K Poulose <suzuki.poulose@arm.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, coresight@lists.linaro.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-staging@lists.linux.dev, Sakari Ailus <sakari.ailus@linux.intel.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl> In-Reply-To: <87v828s7v0.wl-kuninori.morimoto.gx@renesas.com> References: <87v828s7v0.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Mon, 17 Jun 2024 00:58:55 +0000 X-ClientProxiedBy: TYAPR01CA0026.jpnprd01.prod.outlook.com (2603:1096:404:28::14) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYWPR01MB8560:EE_ X-MS-Office365-Filtering-Correlation-Id: 15a8a0b7-148e-4db0-cc5c-08dc8e68aa35 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;ARA:13230037|366013|52116011|7416011|376011|1800799021|38350700011|921017; X-Microsoft-Antispam-Message-Info: rlBaNAuHjDmc0S/6uZE8pB76olTB0wQehDhVQUYEGgysFrr5m9jhvZuXBVQpdvHKoyotOdtkdM/AP19iy7ENtHlAuWhrlSUwshDn3P0lhRLGvv5DWwMOS1eoNr/0oWcNUSN9yC2E1+v2BeITM8ATM2vikNIoY8DxHm8ITuzjeU87pLsPf7cpv2r1iIn+VyCjSdT4fWIElzX+cCQSmkXKGrxi4JNs/aBsMe2UXwoQ8vLoBKqWA+jmaQZbmgVwTFZfFud5h8U2qDR4vXIqwg8pavVf9CLbsu+0pOqlrIlxqo1jaiFM4bXfZjbkTer9p5n66NxgDBTUNvzBjnufqgmKxyW8A/ssX23BJvMeC/pXAJJOLzNUW5xTjQ6L4YCMQ1OOSnHk5Ht/Rq+zFmaQuyan3eAKsw1T6+VTONsRvVZ2ExqSG1Fz7lfVO8cvGLEYoYyN/f7wY8vITeTUq1iT8u+67aHkiBp9Wz8mhFZVsXzmc01VO4EAA/iPgGGk0ks2ZHHESbkYi0CX92Az4VIIbZj9SEdBZeMN6/KAshyGRyTVGjWtGnr7fmAXEMxL/R3pA7j5AiQeTAw18Qp5d/xap20uiShF8H14S0ZFDKFUQJ2oBc4YofBzyhRB/H2YvyNzvXE3+qXzG8fS/Jw/DWwCOHpJd2tURKcIg/gMT8U2G/uN7uhISrE8db+4RtNtRBr2d/YfjBYyihlJmKFUaONNXlrc5gigW/5iYxyQ2t60EEqlIRt+wrJrh6SzBycNOe4Xz4je3WgXjsN8AQjmHmx1sQYBb6AI0Vq1KgpUduvJtAHyeJwxrHoiLbN/3cTBenVsWt2okdm0zxdvQosXPtPscJxbTKs2CspABoMW/5MFOXNfxccWwIfHPeM2xFGFSbl0Y+T/mhBJKjGrb8zwhSHz9LoBPX5uY/LBzuZIKVuXxN1PkZCeZVpamKK9lfGvoVVvQC6i1VGwiEpjeMci7jJA4B25RiR+9lduIaFhiUGmBdAZBgxEGdVn1XNEbmoLmdg1M/fGsdpLDAXsKpZhN9l2PFZ6Bz1lT1T8B6chaB9qewLiqcNs7fMlfPFjUPPZDGfrgu7Axkhp3FED6jHxeeBzNhbYZKt+Czf7uOwT2wETQw056OAyu0QZPtHwY6FkdNi6+NGZoMqOdX5W0VxKRqgevHs/EzsapLrV2TP6c6NuAuVH/QLITb9kFa5K4jDsjq2MRM/4zgKYcP3YoCXRM1QLODPihpXd/oSVPDlXEav8o/6DOSbll3dgKK0VwVZsjbNw+G9D3NOOtg1ZKkyQuXJTZlUGlYfrzmtBOYmMAt3v8CY4Lf+nKj4RyWDO1ig3U5WL4l4JhGv6xpFTfqXgHT2vdz1G1pbh9cv2y7AJpa4M5qvv8JBIRMNStaE+jrpSSnfKxiIe 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:(13230037)(366013)(52116011)(7416011)(376011)(1800799021)(38350700011)(921017);DIR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cdTBnVcqO+vjp+bZNWW5C67sKbtEO5zm080pxhaeDndXnyFMuRTKfChEyiqOj7/PB7gLV6OEvXVAMp9rAs6rvKdz4ZkbOpkvcaQuGvs7BKPf2vTCx1lSfCSufORFQ1akVZ1A07OLcisE3955QZvI6Xh0nRMc7HF5WMz+hfFT56+36STbRPJD3DoVOHeNN5VhwUkiJ61Pc/Nfu92iznWgsQ5cwJ1giUCYGdYrHK2Olp5qn085wmODuXqR2bFJA2oRQk4SwesqHc1w31UvkMd6VLgQ5d7UXlkzaeMUcbqvSzUmAdJ+g9LJ6zdFwlm9MkuXzhOVyRAAYFzENgiluKI9xChMya05m1Yo8Lsh/TiNGXhq2p3YZgCtl5O0VDJa7k8N963d3Tu4cH/QYYQ3+lvTZSNzYGjfENISZ/quCx+rcupXIFso4k3KsNqd3MqI1WP7i+dH0bv4XpxR2Mp3nSDdiv1+Qr357Gfuk1MFyuaoHoMpmkXuxaJ4S0X4Fqy3jn4BayNm1TsORWV6Y4sKmQrehtdpdHRUDHsD2AdPPkmzRQci5D/1FmL/R8ItnDR/qX4e3iyz7WHk4tDyT3bFm+0uMYuQdK8PbET34IvqoLytM8/AvI+OxHlIaK7BbOrSEfs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15a8a0b7-148e-4db0-cc5c-08dc8e68aa35 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 00:58:56.4611 (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: DsoME9YoQXlrGFVxQnl7gwJ6P1rZCOg00rowTkU1BMOG0Zlsq4mJp5XLbYOB5hP1cRn7nDGPPk/qQ221G1OULIjilPgBCqAwhvrJPpU4+RiAQYp056Gz71n5fwp4Sy3f X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB8560 X-LSpam-Score: -2.6 (--) X-LSpam-Report: No, score=-2.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no |
Series |
use for_each_endpoint_of_node()
|
|
Commit Message
Kuninori Morimoto
June 17, 2024, 12:58 a.m. UTC
We already have for_each_endpoint_of_node(), don't use of_graph_get_next_endpoint() directly. Replace it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> --- drivers/gpu/drm/omapdrm/dss/base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/omapdrm/dss/base.c b/drivers/gpu/drm/omapdrm/dss/base.c index 050ca7eafac58..5f8002f6bb7a5 100644 --- a/drivers/gpu/drm/omapdrm/dss/base.c +++ b/drivers/gpu/drm/omapdrm/dss/base.c @@ -242,8 +242,7 @@ static void omapdss_walk_device(struct device *dev, struct device_node *node, of_node_put(n); - n = NULL; - while ((n = of_graph_get_next_endpoint(node, n)) != NULL) { + for_each_endpoint_of_node(node, n) { struct device_node *pn = of_graph_get_remote_port_parent(n); if (!pn)