drm/i915: reduce the dev_priv->uncore dance in uncore.c
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 19 Mar 2019 18:35:39 +0000 (11:35 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Mar 2019 21:12:50 +0000 (21:12 +0000)
commit272c7e52302e910abd49b3fbc871d9609c72b63d
tree9017571add3946e244938839fd06bd9a58c0aa23
parentcb7ee69015aaba5e1091af94e73bc72483c08e37
drm/i915: reduce the dev_priv->uncore dance in uncore.c

Use a local variable where it makes sense.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190319183543.13679-7-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/intel_uncore.c