drm/i915: Use drm_i915_private directly from debugfs
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Apr 2017 19:42:20 +0000 (20:42 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 10 Apr 2017 11:04:23 +0000 (12:04 +0100)
commitbcc36d8a4f1eb91a05655471f0c8cf2b5be07b16
treef8a2d4456bdeec6a2ed7a6d12041bcc712c7c407
parentbea4e4a4f831df1c104be60b3caa7205ba1bb4f9
drm/i915: Use drm_i915_private directly from debugfs

The void *data passed to debugfs callbacks is actually the
drm_i915_private pointer, so use it thusly and avoid the to_i915(dev)
indirection.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170407194220.821-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c