]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23f9c7165587b0825a8b20400286ebe6ea295a13
tree3c20dfcdcda37f1511a0e527bd8e9ed927e058f8
parent870788eb04319eeaf471db2f7efcbcedfe0ba522
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