diff options
| author | Laurent Pinchart <[email protected]> | 2018-03-01 23:35:55 +0200 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2018-09-03 16:13:25 +0300 |
| commit | a7e82a67c1d7b0be6c195a7c4cf2548fa873c056 (patch) | |
| tree | e1e37dc662f99278c62335e6da302eaee16399b3 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9184f8d94c389c4712b4f393cca4a09c9e770514 (diff) | |
drm/omap: dss: Rework output lookup by port node
The omap_dss_find_output_by_port_node() function defined in output.c
looks up an output from its port node. To do so it needs to call helper
functions from dss-of.c to lookup the port parent and the port number.
As omap_dss_find_output_by_port_node() is only called by
omapdss_of_find_source_for_first_ep() from dss-of.c this goes back and
forth between the to source files and isn't very clear.
Simplify the code by passing both the parent and the port number to
omap_dss_find_output_by_port_node() instead of the port node, and rename
the function to omap_dss_find_output_by_port().
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions