summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_panel.c
diff options
context:
space:
mode:
authorDamien Lespiau2014-08-18 14:49:10 +0200
committerDaniel Vetter2014-09-03 11:03:43 +0200
commit055e393fa3ade8cb91d8229f1c76ca9a7b23b8b3 (patch)
tree473c88dd1b0a0aeb7f02b1038218ecfbbd153dea /drivers/gpu/drm/i915/intel_panel.c
parentdrm/i915: don't check for i830 in vlv specific code (diff)
downloadkernel-qcow2-linux-055e393fa3ade8cb91d8229f1c76ca9a7b23b8b3.tar.gz
kernel-qcow2-linux-055e393fa3ade8cb91d8229f1c76ca9a7b23b8b3.tar.xz
kernel-qcow2-linux-055e393fa3ade8cb91d8229f1c76ca9a7b23b8b3.zip
drm/i915: Use dev_priv as first argument of for_each_pipe()
Chris has decided that enough is enough. It's time to fixup dev Vs dev_priv. This is a modest contribution to the crusade. v2: Still use INTEL_INFO(), for the (mythical!) case we want to hardcode the info struct with defines (Chris) Rename the macro argument from 'dev' to 'dev_priv' (Jani) v3: Use names unlikely to be used as macro arguments (Chris) Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_panel.c')
-rw-r--r--drivers/gpu/drm/i915/intel_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
index 764f9283e572..fd6f1f89865e 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -1230,7 +1230,7 @@ static int vlv_setup_backlight(struct intel_connector *connector)
enum pipe pipe;
u32 ctl, ctl2, val;
- for_each_pipe(pipe) {
+ for_each_pipe(dev_priv, pipe) {
u32 cur_val = I915_READ(VLV_BLC_PWM_CTL(pipe));
/* Skip if the modulation freq is already set */