linux/drivers/media/i2c/s5c73m3
Kuninori Morimoto c188df3db1 media: i2c: 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
Link: https://lore.kernel.org/r/9d1e99b0-892d-4a72-a9b3-886b8ed094b0@xs4all.nl
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
..
Makefile
s5c73m3-core.c media: i2c: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
s5c73m3-ctrls.c media: i2c: s5c73m3: remove support for platform data 2023-02-06 08:57:12 +01:00
s5c73m3-spi.c media: s5c73m3: Drop empty spi_driver remove callback 2021-11-30 12:07:06 +01:00
s5c73m3.h media: i2c: s5c73m3: remove support for platform data 2023-02-06 08:57:12 +01:00