]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fd003f3501354ca55a0a2b9b16112ad5b7760eb
treef8a2d4456bdeec6a2ed7a6d12041bcc712c7c407
parent329588fcf126c48e323ce3d665689ce8c4b0ade9
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