diff options
author | Kuninori Morimoto <[email protected]> | 2024-02-20 01:16:21 +0000 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-02-23 14:33:32 +0100 |
commit | c188df3db16798c7d26b45be9bbb4101599b04b5 (patch) | |
tree | 232edd9862cd715a6357ad8f7aeeb3976ddcd9b7 /tools/perf/util/trace-event-scripting.c | |
parent | 7b61650b3ce8b8b111f272936725399cd6f04602 (diff) |
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/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions