drm/i915: use id from intel_shared_dpll.info
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 20 Mar 2018 22:06:35 +0000 (15:06 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 27 Mar 2018 17:35:41 +0000 (10:35 -0700)
commit0823eb9c52f9e47564277e5bdd6b78cd95cf9f9c
tree46c32627248772d250728da06f74558fdae0279f
parent72f775fa284886893bec4a189ed38ac30e2535aa
drm/i915: use id from intel_shared_dpll.info

Replace all users of pll->id to use pll->info->id. In functions using
this more than once it was preferred to add an id variable to make the
code easier to read.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320220637.21480-6-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dpll_mgr.c
drivers/gpu/drm/i915/intel_dpll_mgr.h