From: Steve Longerbeam Date: Sat, 29 Sep 2018 19:54:13 +0000 (-0400) Subject: media: staging/imx: of: Remove recursive graph walk X-Git-Tag: v4.20-rc1~69^2~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21711787045d8d39c01c6bb072c03ef02a10d3a4;p=thirdparty%2Flinux.git media: staging/imx: of: Remove recursive graph walk After moving to subdev notifiers, it's no longer necessary to recursively walk the OF graph, because the subdev notifiers will discover and add devices from the graph for us. So the recursive of_parse_subdev() function is gone, replaced with of_add_csi() which adds only the CSI port fwnodes to the imx-media root notifier. Signed-off-by: Steve Longerbeam Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/imx/imx-media-of.c b/drivers/staging/media/imx/imx-media-of.c index acde372c6795b..1c9175433ba63 100644 --- a/drivers/staging/media/imx/imx-media-of.c +++ b/drivers/staging/media/imx/imx-media-of.c @@ -20,74 +20,19 @@ #include