drm/dp: Store drm_device in MST topology manager
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Tue, 24 Jan 2017 23:49:29 +0000 (15:49 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jan 2017 05:01:48 +0000 (06:01 +0100)
commit7b0a89a6db9a5912065e174162ec4a653c9b25d6
tree8bde147678ac1428b494143fd303f21664a6bec2
parent442ffefc0c3f6fa854dbda2e2d5e15473ad8f5a6
drm/dp: Store drm_device in MST topology manager

struct drm_dp_mst_topology_mgr currently stores a pointer to struct dev.
Changing this to instead hold a pointer to drm_device is more useful as it
gives access to DRM structures. This also makes it consistent with other
DRM structures like drm_crtc, drm_connector etc.

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1485301777-3465-2-git-send-email-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/drm_dp_mst_topology.c
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/radeon/radeon_dp_mst.c
include/drm/drm_dp_mst_helper.h