diff options
author | Noralf Trønnes <[email protected]> | 2017-01-26 23:56:03 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2017-01-27 08:55:21 +0100 |
commit | 086f2e5cde747dcae800b2d8b0ac7741a8c6fcbe (patch) | |
tree | d847524301fd8ac7ee78715f139012b1605d81eb /lib/netdev-notifier-error-inject.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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions