drm/i915: Constify the drm_i915_private pointer a bit more
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 6 Jan 2014 19:17:23 +0000 (19:17 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 27 Jan 2014 16:16:46 +0000 (17:16 +0100)
commitd34ff9c66d0c2b58bc5ff6c242407f32f39fcfbc
tree3c20dfcdcda37f1511a0e527bd8e9ed927e058f8
parentd330a9530c97b8ee4704fdd7f228712029438ea9
drm/i915: Constify the drm_i915_private pointer a bit more

A lot of the WM functions are only reading from that structure and are
already using const. While converting the code to use dev_priv instead
of dev, I noticed a few places where we can give that hint.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c