Message ID | 878qzsoxxx.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Superseded |
Headers | show
Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2077.outbound.protection.outlook.com [40.107.114.77]) (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 340BB2576E; Thu, 30 May 2024 02:06:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717034802; cv=fail; b=WpvX01RhTvzvcr04jzMA5eIgvmSyia1JD/FrTMtEN6To2Wq2bkeh4JW4DWhDM/mM8EVDnXE04pxsKv+iBl+rFtUNyiMrxOKsNFUh3Ml0UtMWb5vRcM1NGLCD400aixKZWQAJ/OJ6xEFtQtGstirQqE5+3gPD9IV0ib9mAQjMXXM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717034802; c=relaxed/simple; bh=RLm+i9/ScJYDLOHo+cV95VhB7eobV/GEZD0X1cPqbWM=; h=Message-ID:From:Subject:To:In-Reply-To:References:Content-Type: Date:MIME-Version; b=mbXOsNTHIXhn6opFtBwE6EWHUxxATZ0jDx/5L57s8jZrxsUSrUwjWkUr9q+qpi4OvclRrLnlg1d7Diz+3ZHTUFPLIEdqfz7flj0pDle3fzhQMK52vqY+wehiwwBnbWTn8pNbN2phlFnJPxArpGFnKuXI+MPIt+ciVmmUTvne+d0= 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=lXJD3iAP; arc=fail smtp.client-ip=40.107.114.77 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="lXJD3iAP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JB7F0480Ty3MpotYWgVwK6DDRlpXKeOZ0PDv2/c+HhQuvgrpj38cTBJHDZ1TPWTWcF4JcFW9pQPc2ve7+B7lopM2XG6Efk3RMwX274tC/ITnTbxPMpoTI0u9G4w7hg3fel/QlVLZd7vZNgbqWDMbve3tYxWdGqWuy+vYN0rUuU88TslmcbviUxlS5lneEjYDXZp9vOKSG3TaDKos9X/1iCfWnemr5YMGComeK9jvIv6FTk96blphUUUPjo4qogRukhyH8geGQXInZ7ZLmOpwuhicxCOr/6gsSsJrUooldiMeWRHIXzGKj6LrEbPbkVrr2FdbqiU2r/4bzjZ+mijMzw== 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=MsagpA/5pNrylws56rjc/fEA7kqQPMX4DxQt4ow3FTA=; b=n/dJh2LJQT/EGG+0RSEETpU3/B01Jkp8v8srZeHw8aqNcavGBZJ5QSnnuZ2iVkDn2GuJknju97/4s8psUjFVipTT4qORlGXQi4KUvGn3r5JnJ5bmQL43jsnhmd+ltlzj7I+53NFfN/64JBEhwJKOFzWsS42EZV3g2iEfXpTdUPnF2HQilg7lA8UQTlCrDSKfM0/XXL/dIDiQSJrnaYTjGPV27Nxw2fewmftiDa+rPYcgxJOHr1Ms+9dFw0M7+GAk3yswh7+ewlTxPUsaUqOZzIXCub7Y22YYt6WWMVMLVWNOJ/66jcxVt8aUqiazWB+6KgjQzkfiShvKbNCCOY7KAA== 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=MsagpA/5pNrylws56rjc/fEA7kqQPMX4DxQt4ow3FTA=; b=lXJD3iAPv219Q3jIOHpzlTCtoJ3hY2voJ45HYN3jkwMWKEKLa9N4Jwq3AfN/5u3Wlcy7ke0EmGoDQALEn39FpxDVEttZ6rIztxjdiUJor1J7EugFG3Afbw2CbgLjBS753nVqy+cakeATFu7o8boMWHNRfHg4rAysGAjnKuVPYRI= 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 TYWPR01MB10240.jpnprd01.prod.outlook.com (2603:1096:400:1e5::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Thu, 30 May 2024 02:06:35 +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.7633.018; Thu, 30 May 2024 02:06:35 +0000 Message-ID: <878qzsoxxx.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH v3 9/9] fbdev: omapfb: use of_graph_get_remote_port() User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 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 In-Reply-To: <87le3soy08.wl-kuninori.morimoto.gx@renesas.com> References: <87le3soy08.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=US-ASCII Date: Thu, 30 May 2024 02:06:35 +0000 X-ClientProxiedBy: TYCPR01CA0182.jpnprd01.prod.outlook.com (2603:1096:400:2b0::6) 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_|TYWPR01MB10240:EE_ X-MS-Office365-Filtering-Correlation-Id: 010c2cb8-4815-4cf4-9f30-08dc804d2235 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:13230031|376005|7416005|1800799015|52116005|366007|921011|38350700005; X-Microsoft-Antispam-Message-Info: rLh75B2clWn/ViVXcd14xojT8yvQT9zmUbXumD4xwdY/wzuh+1XH+DX37zyG9Uh87LOCIHyp1GhSj6uTBOfpRsdQfJgUrTNqqA04/CFePu5r2Thnus+9r7Y+/PQi0k01DvCNNOw2xlu+wXy8MwRo00mbOfE30Af8dfUafJCwM8nti7ZumehqGbUBXV7gOw78LpHm8rF8rM/98THKRVWR6DcpLXGK0kI1dd31Yd6bfFvGAMnuK9oicu+kMiH+xZTRi6JcR5S1+T36+FL8vJ6O8JDwesWApeAY1yoytQ6bH+2Sjh7r1JwmHx0yuHo7xHM96z+4CNz66mtO2Zp+N79jjIatMA2hYkX/LsM+l3fk0YXqeHND3G8hm90arOPQnpTZSSmDKIJoLIsyClvxwqoUuPWJOmzpV1JyiDunxPhhUDaSeHfBoko5Shn/CwhC/UFZ26uAqWg+YP+laT2PsrRrIetK94nnlFa3+q5HwMesSSTST/Hxe6PzV/OxD99XnMWohCLVjCectZP+xTyA6QVNjlkYEkesByvrgkEj0ZRrMHB5cZUuDFS9cJPXxkMgm9/kw1F0FvEctGsOam7rlLF//MIvSoON0rC/HyUKpvwWBLJzWIp02jdBEqysSoRj/yGmFYT5vzGlQBTQFN6Lz/8R+TOzYPxsqAckCZo3WqDCBqn20opDHZpY2E1k9xodsX8CeK7dt11NrxQXqsuuuJeKdj7pMGiamxtRjws7jPlru+KX/6K0DymgOa3gRkCdXvya2uQfkV5o0UfI9bOMgunZVkI+Y833aLx0JzSX3nZWUP3gr+umEW82I5E4TblVKtL1rlXfjSbKZ1W8MrdFA+bZaOPD1ZsvJTpOW1Irs2OR+ckwyfrIFMQ2djdAUEAr9JOZtywgx4nNOCfG0DgwqkVXk1y6xuXfMh6WtwRQ6+vCk7J0SFudOlF1PsUV3+Xh8ckv6TB7LXe4dz7wYYXJqoSIjt5X0px69Qt7+WZU3JNB8Ty/zgQtaJxCbBTJZyrP/39OfCm+QW5tH6huCkC2zKWcbnJmoTGYPBhEY5OLbbBiu43T6OB5Asoee5trU+v3j3f5A5ghvVx38mcY8qNi4WVVDw8hfeGXcyKswtjkEYBN8TXnZvn1rC974N4K4Yw0Ul2AHD1qpLb3sgdrU/58+75t4moxq9Nzpz/QpL3AQQyVrrdyiQMuIW37zD6VK0KoyJSEXlEpjkU+9u1KQ9I5ty/2RxRWLyuCFeVTMzKFlDGlY3qyMurSkNTDFYWf9e0aeaIAurtLdWHCChZEfYbO9I/0Kr8lT5j/WSJ1Lggslik9fgDTP3DSjZGhwSVKWKPep/a3QzPefEYM63FcvGonOZ9fNA== 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)(376005)(7416005)(1800799015)(52116005)(366007)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fX3g7BwxqQdzfd9NKLRQLP37QeHA6Wvt59E86mNnvgah5kKTxdlUE/PZl6EweHZA+geOMR/uz1wMbAzbDCZW1nPABXSDbPZLkhYO8eYR/ugmr8H+vjnrb9hEEdM3XYmIZoxpArAKhHwfHcsbOMHGExQW/CCI2T4RKE8D4jCXBEVxQj24YH4C0mJG3EY0m1PjExOTpNSOuJdMREn5fECODt+q+QAP4pDjPfAuX2oJVo0SmSqW2a6KUDLJ+dRBKBqFzPKE0165V3SefVi7npAggOIOyhTKtLynpeRdJH73GwFMpXUpH5J/c1nbeX/G/wCXDBLK4Ig7bdctmRicXbrM7uG8rKDo5ssrYF8a6TCUZLCyJCf44HQ/y2N/laQqYJA6uLSsZMA9D2VrBO+fYFqrX9yiR618CoMHl6GmyunOf4AHzYzlhuhNW9YbwO0FxHGsFZ1WkrcThxhii/4Flk/2Y/YxsX3IkDd8Z44dn6Ovgqpe+ZXTTy9DAdcvNL93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DmjVo+3+ETtpqhFTcslL9bWGqQaVGoWt7qZtgj0JSXc= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 010c2cb8-4815-4cf4-9f30-08dc804d2235 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2024 02:06:35.5532 (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: EGYfLmdPPc3gNwbTffUbgFy+VlBKfaMviXZyGG+aBtoxTLNwg9h1jgrQNQoFVornARPOM+D2pM4XfC5Q9JsUBieUOm+2KQuGytwL0tFE7sUsFaBF/eSwRbU/iCZ0lqr8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB10240 |
Series |
use for_each_endpoint_of_node()
|
expand
|
diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c index 14965a3fd05b7..4040e247e026e 100644 --- a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c +++ b/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c @@ -117,19 +117,6 @@ u32 dss_of_port_get_port_number(struct device_node *port) return reg; } -static struct device_node *omapdss_of_get_remote_port(const struct device_node *node) -{ - struct device_node *np; - - np = of_graph_get_remote_endpoint(node); - if (!np) - return NULL; - - np = of_get_next_parent(np); - - return np; -} - struct omap_dss_device * omapdss_of_find_source_for_first_ep(struct device_node *node) { @@ -141,7 +128,7 @@ omapdss_of_find_source_for_first_ep(struct device_node *node) if (!ep) return ERR_PTR(-EINVAL); - src_port = omapdss_of_get_remote_port(ep); + src_port = of_graph_get_remote_port(ep); if (!src_port) { of_node_put(ep); return ERR_PTR(-EINVAL);