linux/drivers/media/platform/atmel
Kuninori Morimoto 5848915b91 media: platform: replace of_graph_get_next_endpoint()
From DT point of view, in general, drivers should be asking for a
specific port number because their function is fixed in the binding.

of_graph_get_next_endpoint() doesn't match to this concept.

Simply replace

	- of_graph_get_next_endpoint(xxx, NULL);
	+ of_graph_get_endpoint_by_regs(xxx, 0, -1);

Link: https://lore.kernel.org/r/20240202174941.GA310089-robh@kernel.org
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-02-23 14:33:32 +01:00
..
atmel-isi.c media: platform: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
atmel-isi.h media: atmel-isi: Remote unneeeded forward declaration 2023-07-28 10:34:44 +02:00
Kconfig media: atmel: atmel-isc: move to staging 2022-11-25 07:48:31 +00:00
Makefile media: atmel: atmel-isc: move to staging 2022-11-25 07:48:31 +00:00