summaryrefslogtreecommitdiff
path: root/drivers/pci/of.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-01-19 13:50:52 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-27 09:50:47 +0100
commitf78ae63f28c3f7de06360c553711fb07abd69734 (patch)
tree2982e6bf85577184188c32fc2a1055e69b820837 /drivers/pci/of.c
parentb5c46aab48889d8f8621bc72d5ea4ffe83601c15 (diff)
drm/i915: Rename 'reg' to 'clk_reg' to unconfuse it from the other 'reg'
On VLV/CHV the rc6 residency calculations read a second register to determine the actual units used for the residency value. The variable name 'reg' where that register value is stored shadows the function argument 'reg'. That can easily leave the reader utterly confused, so rename the internal variable to 'clk_reg'. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Deepak S<deepak.s@intel.com> [danvet: Spellfix in commit message.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/pci/of.c')
0 files changed, 0 insertions, 0 deletions