drm/i915: Use an intermediate variable to avoid repeating ourselves
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 5 Feb 2015 17:22:16 +0000 (17:22 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:04 +0000 (23:28 +0100)
commit6bf129df6ffae600e8f12440635cf64d293042b4
treeda01e16e1efdf948414c51843f42a4a4c3c4463e
parent5ba76c41e55c32f35224c956759fcdc154c78b1a
drm/i915: Use an intermediate variable to avoid repeating ourselves

The code look slightly better this way and will ease the next commit,
changing where we take the fb pointer from.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c