Message ID | 87ede8ud8l.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2126.outbound.protection.outlook.com [40.107.113.126]) (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 CDD02EEB9; Tue, 23 Jan 2024 00:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.126 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705968255; cv=fail; b=ssvlSF1JrjcJkLmZlZuYyWuBbzpbs81BwqnuiL3ahxVrQPlkMvHhJB+lK8BZRPabUlKTOrg09hrAhKgUCY5ALEnR4LhWUwUA087aJluZECR1kImgCqwy4fuCkXv+n3NtEmIAPU9pzCKuY5+QSSGmjwy7jXunErdkD9dEfJJcwwo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705968255; c=relaxed/simple; bh=O71FA2E42UYsMrjWzxnrECf7lu1r2wSaetj5Tv9Gp2w=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Content-Type: Date:MIME-Version; b=AeSByqAvu16+91/zp8LN6lj9nI8lC2A2mqNyBx/laFH3bD1keh1NHvexEuhCNNbKiTQO2WSop2CHkpoOmSQaXEOPxRFRAdMCxtDcvmH0mmbdcwXWJEBLhPMUoEnPPAMSQV3sX1eb1e7YyNesBqrvwOl3oVxaNXzAKL1dmXUzTGo= 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=Jl0C8XW5; arc=fail smtp.client-ip=40.107.113.126 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="Jl0C8XW5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kxHPz513iwNMMis0HNXUxTsn/Xmt6QaN7UsAvOaj8AnEvG2qQBwPZG4rUpjhQalGxqKNRFqY7VL3cN4Db5tk4IO/ywjZpQ3k8Lh7o2I8zU3NJwXQfddnWqvsYNv3bvZz1jW9Q3bILLMlosDuiIhko01eQa1Kbx3s+0FDs9xTuQuuT3XxdEqSr9eIuX5c356xzUpGDxF8xjR+CY2zhthLjUtvqxcRBvxuXq4PwFb/dn5ViKSqYELpMvKzq5sHJrz6K6NFLwT63wikYTppV/cOl0GNoToojfQ1ZKBrB82ku6YDzSrkzE7qLVb94PDRaqRIgLxUIn51MJHxkP6QXV8prg== 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=3nOTCUJGIMIXj+KvwhKMa89nGXFB5+3ZjUbE8AMOrDw=; b=OQ4jVFCrmiUGLHOy0bbM7giME7EVMoy4vtyb8/9XC/d3JrgCefH/ar5c9GLZ9K/IV9gvOO0VnOrDeB1f2nMlzbL5MVXOzwyL5E/S9KdZGV6Pr0DB3pLuHCSUbd1ZEuOX9HXPqp8M6jqD3ibXkw7LmZvINGAyvR4rXqGJIreRcrBmDWB92fXTTVTP3xhtYyeVCoo9cC8191LYeC/6/IwQH/gVuuGGCUiWV7XRN0OZ6yUGb9fs0tYrr3o6Wfrb+pCkQySsUaXxx4zzphhM0IokkUwECOWR73lPhEkwbzARibVUbHqZQGiA+uF9caPvpJtjGeKvI7PKoPIZJsaJsjarfg== 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=3nOTCUJGIMIXj+KvwhKMa89nGXFB5+3ZjUbE8AMOrDw=; b=Jl0C8XW5pbASYddJArUDwjnDACtRJb7mjONEuSMcKJbxWsnrQa1eFEgjI9yfT/NCjHTXkeBCa0TP8VIeTC6fd5/GiVHpHHSkYx8hNZfrOx5hDjPb76eOCeAulGfXorRxQjHskQRkh3hRlvwG6MSDyrCojc7bYJ21fSj5GjT+45g= 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 TYCPR01MB5583.jpnprd01.prod.outlook.com (2603:1096:400:40::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.20; Tue, 23 Jan 2024 00:04:11 +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.7228.020; Tue, 23 Jan 2024 00:04:11 +0000 Message-ID: <87ede8ud8l.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> To: =?iso-8859-1?q?=22Uwe_Kleine-K=C3=B6nig=22?= <u.kleine-koenig@pengutronix.de>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Frank Rowand <frowand.list@gmail.com>, Helge Deller <deller@gmx.de>, Jaroslav Kysela <perex@perex.cz>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Liam Girdwood <lgirdwood@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Mark Brown <broonie@kernel.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Maxime Ripard <mripard@kernel.org>, Michal Simek <michal.simek@amd.com>, Rob Herring <robh+dt@kernel.org>, Saravana Kannan <saravanak@google.com>, Takashi Iwai <tiwai@suse.com>, Thomas Zimmermann <tzimmermann@suse.de>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, linux-sound@vger.kernel.org In-Reply-To: <87jzo0uda2.wl-kuninori.morimoto.gx@renesas.com> References: <87jzo0uda2.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 04/13] drm: omapdrm: use of_graph_get_next_endpoint_raw() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Content-Type: text/plain; charset=US-ASCII Date: Tue, 23 Jan 2024 00:04:11 +0000 X-ClientProxiedBy: TYCPR01CA0203.jpnprd01.prod.outlook.com (2603:1096:405:7a::12) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: <linux-fbdev.vger.kernel.org> List-Subscribe: <mailto:linux-fbdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-fbdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB5583:EE_ X-MS-Office365-Filtering-Correlation-Id: a81c44d6-428e-4b9f-1233-08dc1ba6d3d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ajDALJarV49rnQWAszTYIPZobGHb+sQiB22+4jILiIhT1+TNhWnme54NMlCAl9LZSPijIO4xD1hMpikj/YmTRSWiSDWAqETD0NyA/MYDHSWYXQxNCniO4wQ8/3GYB6rLjhHyOude1oPUz9smy0uJBrVYVn8A+RD4W2ckbu7LPs2t8vcR8x3gd/O5NgGvDI2D9wzxQ5Q3ePIT0jKdM/SFbDRgrO6VeMCjSjTkcL6iYbBWITwTl5OXNE7UZ+LW3XBsKUJGaDtWERHLHtyI716joX7civyovrXSmyp05bZw/1x9DNQcj5MCk8swm2lSEdtVhAgOetiyO+k0j7bvWMMNHlz/At+imAhEjVA7ChkxaOATUqzp9KWzpLUGvjWsLpoGFsxEmXiUQgW7ZnqiR+EIRF+YZopxXZ8z4K7SIEbntpg2Ax0jeTx1PJSWZnEGZL/f0/AZOOnQg4T6Aae6j9CSU9omBPbpWYKweTUYlGvbDnzDO4ABmoCWf+Kd08ipo2uUtqGP9QopYDFmuAQkjGJhcyb26Uz4bX0UD1B/3Efmuh2rrBv9NZN/Z49kABXDvoO9aeML/g/5flyq8610/+NKYNmBtDcaI2uix3gxvyzs41kkCL8+/78Icms238lzAPnTb3xa7gzF/V0BllUDtlvPNg== 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)(346002)(136003)(376002)(39860400002)(366004)(396003)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(6506007)(2616005)(6512007)(52116002)(26005)(36756003)(38100700002)(86362001)(921011)(38350700005)(41300700001)(83380400001)(5660300002)(7416002)(2906002)(478600001)(110136005)(4326008)(66476007)(6486002)(8936002)(8676002)(66556008)(316002)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bwm5/djuUooyBkg+a3xyJ0Xob6xFjY+ixAY/qO22XAkhpCtr0WCRv3MTqMMYSkhEdSztVqOXXzogEeK6Qn5e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bUJig3oKozbrl1sRagDoSDZ87xj3H8xlPVvnjIQ1uLwR0z3lOmxF8ZfN7DfSZ9J2xNzEG3lJMf4JhsKdymq3XvRIUFfYUG/og89nQ0ASpB7dCHwsKRTCwJswj5UPcwxfW6tQng5PpSatsE5ONU6BrSJDg7Nk6ZogfKuaG6ouE9i4Km8PIHEr6OT1FEuAoov4B/PRTMiI9qp7qn4apWaAWsiNsXZoEM70WOzsvos8vneM46dQ/bsbVESnAh2ZcXlSTnaxGaVqQNaSpRwjdacM5+IGIa3HzijkXmY/zZz7Zng8HTcOJdp/SnxgTyuUmE2K5SCayJDrpSL+eNJHHS7mG5X41oo0zfUHfXI/+EhTr59Q+ks+zK+pIuEgOrmPXSRVY7u+oFLmBqYfrvvgrRW73aQLVU6NR/SgtgpRKm25DAaYk5rf+k+G/ApsjI/Z1CjeHx9zdRflhXFM/9EBJoCsL+QzH4NZxRiET0tj7uYpPhg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: a81c44d6-428e-4b9f-1233-08dc1ba6d3d0 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2024 00:04:11.3047 (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: 2URTnd3p/+9F4SnG5Z/xbzw3eBGME0W0h7mZ/PZOVIUDPBmJTBO7kIttIoGu8ZwtoHIL7Jc7K7OiBjBQF5WHCTzILWoAlrhPfJbMBMSOM6I9l+SW1o1zuAjjp+jnb/55 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB5583 |
Series |
of: property: add port base loop
|
expand
|
diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c b/drivers/gpu/drm/omapdrm/dss/dpi.c index 030f997eccd0..edcf7f4fb149 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_raw(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..0308dfc00058 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_raw(port, NULL); if (!ep) { r = 0; goto err_free;
We can now use of_graph_get_next_endpoint_raw(), let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- drivers/gpu/drm/omapdrm/dss/dpi.c | 2 +- drivers/gpu/drm/omapdrm/dss/sdi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)