diff options
author | Imre Deak <[email protected]> | 2016-10-24 19:33:30 +0300 |
---|---|---|
committer | Imre Deak <[email protected]> | 2016-10-26 12:41:01 +0300 |
commit | a5d94b83ec709dbd90f17cba79142fde123d3869 (patch) | |
tree | 3e8bf393d99a22c4b83a03577472774929acd6d6 /tools/perf/scripts/python/stat-cpi.py | |
parent | 12a47a422862214d3a715a0bd93140b8176dcdc9 (diff) |
drm/i915/lspcon: Get DDC adapter via container_of() instead of cached ptr
We can use the container_of() magic to get to the DDC adapter, so no
need for caching a pointer to it. We'll also need to get at the intel_dp
ptr in the following patch, so add a helper that can be used for both
purposes.
Cc: Shashank Sharma <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions