diff options
author | Marek Vasut <[email protected]> | 2022-06-12 12:29:18 +0200 |
---|---|---|
committer | Marek Vasut <[email protected]> | 2022-06-12 16:06:53 +0200 |
commit | fc8adb13d844b44c147b4dced292c74a1ab5cb25 (patch) | |
tree | 6cfe214e0ba4bea744befbc2c1b57d87948eb078 /tools/perf/scripts/python | |
parent | d643daaf1694b7565fbe3982b630e1c7b95f1600 (diff) |
drm/bridge: ti-sn65dsi83: Do not cache dsi_lanes and host twice
The DSI lane count can be accessed via the dsi device pointer, make use
of that. The DSI host pointer is only used in sn65dsi83_host_attach(),
move the code around so that the host does not have to be cached in the
driver private data. This simplifies the code further. No functional
change.
This has the added bonus that lt9211, tc358767, sn65dsi83 now use very
similar *_mipi_dsi_host_attach() which is ripe for deduplication.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Robert Foss <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions