diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-01-26 23:56:03 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-27 08:55:21 +0100 |
commit | 086f2e5cde747dcae800b2d8b0ac7741a8c6fcbe (patch) | |
tree | d847524301fd8ac7ee78715f139012b1605d81eb /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 73f1a5858bf82f3bf2326af2d2adea7305c830de (diff) |
drm: debugfs: Remove all files automatically on cleanup
Instead of having the drivers call drm_debugfs_remove_files() in
their drm_driver->debugfs_cleanup hook, do it automatically by
traversing minor->debugfs_list.
Also use debugfs_remove_recursive() so drivers who add their own
debugfs files don't have to keep track of them for removal.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170126225621.12314-2-noralf@tronnes.org
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions