drm/i915: simplify struct drm_device access at intel_atomic_check()
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 19 Jan 2016 13:35:49 +0000 (11:35 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Jan 2016 20:16:27 +0000 (18:16 -0200)
commitdd8b3bdbdb748e1ae6a7025bf113ab08b09952bb
treef4b73887d9c61b1a55ec71e4b8e8fbab8bdae88a
parent010cf73d4648df35585c0c326123b04ab79e4573
drm/i915: simplify struct drm_device access at intel_atomic_check()

We already have a dev variable, there's no need to access state->dev.
Also, I plan to add another dev_priv user here, so declare one for the
current user.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453210558-7875-17-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_display.c
This page took 0.025984 seconds and 5 git commands to generate.