OSDN Git Service

drm/i915: remove rps local variables
authorBen Widawsky <benjamin.widawsky@intel.com>
Thu, 20 Mar 2014 01:31:13 +0000 (18:31 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Mar 2014 13:46:07 +0000 (14:46 +0100)
commit2a5913a8670a6925c04e397e0a8ebd72cb4b2d26
tree711a401af311fe260bd3c83e2d78408456c4af8e
parent04da7e77e2cb8eadb84e12ecae3398e2a5b9ba70
drm/i915: remove rps local variables

With the renamed RPS struct members, it's easier to skip the local
variables which no longer clarify anything, and if anything just make
the code harder to read.

The real motivation for this patch is actually the next patch, which
attempts to consolidate some of the functionality.

Cc: Jeff McGee <jeff.mcgee@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_sysfs.c
drivers/gpu/drm/i915/intel_pm.c