drm/i915: convert debugfs creation/destruction to table
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Jul 2013 18:49:44 +0000 (20:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 8 Jul 2013 20:04:46 +0000 (22:04 +0200)
commit34b9674c786c73e5472e8b98a729bcdde9197859
tree68c54f67fa1ead5f05a7e93555de86b4d7637115
parent5d536e2858ead64ea945552ec6a491f968c55888
drm/i915: convert debugfs creation/destruction to table

At least for the common cases where we only need special file
operations. The forcewake file is still rather more special.

v2: Fix up the debugfs unregister code.

v3: Actually squash in the right fixup.

Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c