drm/i915: simplify struct drm_device access at intel_atomic_check()
authorPaulo Zanoni <[email protected]>
Tue, 19 Jan 2016 13:35:49 +0000 (11:35 -0200)
committerPaulo Zanoni <[email protected]>
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 <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_display.c