drm/i915/backlight: prefer dev_priv over dev pointer
authorJani Nikula <jani.nikula@intel.com>
Fri, 18 Dec 2015 08:51:35 +0000 (10:51 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 18 Dec 2015 09:37:44 +0000 (11:37 +0200)
commite6cb3727f8b912eae4445a24c2f90df2ea14da78
treef9f5a6c790641492758ed204bee9ffba4e162db5
parent200757f5d7c6f7f7032a0a07bbb8c02a840bbf7d
drm/i915/backlight: prefer dev_priv over dev pointer

Use dev_priv rather than dev pointer where applicable. Remove plenty of
unnecessary temp variables. No functional changes.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450428695-28831-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_panel.c