]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81ba1ca004a916a271649e4cd754ef1aeb1aef7a
tree711a401af311fe260bd3c83e2d78408456c4af8e
parent016c296cfe5db00d7c6bb1df3cc01c06ecaf4f5c
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