drm/i915: use macros to assign mmio access functions
authorYu Zhang <yu.c.zhang@linux.intel.com>
Thu, 23 Oct 2014 07:28:24 +0000 (15:28 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:13 +0000 (16:34 +0200)
commit43d942a780efe72b426d30dc112f5eb2fc7eec3a
treef015945224461a740f233edaf6d683c766b2f996
parent6d729bff304f3b81062e21cd333a639fda4244b3
drm/i915: use macros to assign mmio access functions

This is beautification prep work since vgt will add even more special
cases. With these macros it's much easier to see what's going on
really.

Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com>
[danvet: #undef the temporary macros after the function again. And
write a commit message.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c