diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-01-27 01:56:03 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-27 10:55:21 +0300 |
commit | 086f2e5cde747dcae800b2d8b0ac7741a8c6fcbe (patch) | |
tree | d847524301fd8ac7ee78715f139012b1605d81eb /tools/perf/scripts/python/check-perf-trace.py | |
parent | 73f1a5858bf82f3bf2326af2d2adea7305c830de (diff) | |
download | linux-086f2e5cde747dcae800b2d8b0ac7741a8c6fcbe.tar.xz |
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions