drm/i915: Use dp_to_i915 on intel_psr.c
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 27 Aug 2018 22:30:21 +0000 (15:30 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 28 Aug 2018 13:58:18 +0000 (06:58 -0700)
commit1895759ee932e47f48b5e87baadc449ffd0853f1
treebf7dc48069277617e908e374035728c42c25f6c8
parentde25eb7f3075f6fb02962526664699cdbdc26db4
drm/i915: Use dp_to_i915 on intel_psr.c

Now that we have a generic caller let's simplify it and
clean up the intel_psr.c code a bit.

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180827223021.7145-2-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_psr.c